From 76cab7e7efdcd4860f2a4fbd31e1a120f0aae143 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 13 Aug 2015 00:46:10 -0700 Subject: [PATCH] shackle-mode prevents new buffers from popping up in random windows --- dotfiles/emacs.d/init.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index e8c113e2..9c5db8af 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -494,6 +494,12 @@ The current directory is assumed to be the project's root otherwise." :config (setq tramp-default-method "ssh")) +(use-package shackle + :ensure t + :config + (shackle-mode) + (setq shackle-default-rule '(:same t))) + ;; text mode stuff: (remove-hook 'text-mode-hook #'turn-on-auto-fill) (add-hook 'text-mode-hook 'turn-on-visual-line-mode)