shackle-mode

prevents new buffers from popping up in random windows
This commit is contained in:
Ivan Malison 2015-08-13 00:46:10 -07:00
parent b83433a807
commit 76cab7e7ef

View File

@ -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)