Explicitly display shell and eshell buffers in side window
This should inhibit their windows from being split by `display-buffer` to display normal buffers, but during early testing also magit buffers went to this side window. This configuration may thus not be final yet.
This commit is contained in:
parent
1f248358bc
commit
cfe1dcfa0a
9
init.el
9
init.el
@ -542,11 +542,10 @@
|
|||||||
;; Inspired by masteringemacs
|
;; Inspired by masteringemacs
|
||||||
(add-to-list 'display-buffer-alist
|
(add-to-list 'display-buffer-alist
|
||||||
'("^\\*e?shell\\*"
|
'("^\\*e?shell\\*"
|
||||||
display-buffer-in-direction
|
display-buffer-in-side-window
|
||||||
(direction . bottom)
|
(side . bottom)
|
||||||
(window . root)
|
(slot . 0)
|
||||||
(window-height . 0.33)
|
(window-height . 0.33)))))
|
||||||
(dedicated . t)))))
|
|
||||||
|
|
||||||
(use-package winner
|
(use-package winner
|
||||||
:commands (winner-mode winner-undo winner-redo))
|
:commands (winner-mode winner-undo winner-redo))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user