forked from colonelpanic/dotfiles
shackle-mode
prevents new buffers from popping up in random windows
This commit is contained in:
parent
b83433a807
commit
76cab7e7ef
@ -494,6 +494,12 @@ The current directory is assumed to be the project's root otherwise."
|
|||||||
:config
|
:config
|
||||||
(setq tramp-default-method "ssh"))
|
(setq tramp-default-method "ssh"))
|
||||||
|
|
||||||
|
(use-package shackle
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(shackle-mode)
|
||||||
|
(setq shackle-default-rule '(:same t)))
|
||||||
|
|
||||||
;; text mode stuff:
|
;; text mode stuff:
|
||||||
(remove-hook 'text-mode-hook #'turn-on-auto-fill)
|
(remove-hook 'text-mode-hook #'turn-on-auto-fill)
|
||||||
(add-hook 'text-mode-hook 'turn-on-visual-line-mode)
|
(add-hook 'text-mode-hook 'turn-on-visual-line-mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user