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:
Daniel Borchmann 2023-04-16 10:57:26 +02:00
parent 1f248358bc
commit cfe1dcfa0a
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -542,11 +542,10 @@
;; Inspired by masteringemacs
(add-to-list 'display-buffer-alist
'("^\\*e?shell\\*"
display-buffer-in-direction
(direction . bottom)
(window . root)
(window-height . 0.33)
(dedicated . t)))))
display-buffer-in-side-window
(side . bottom)
(slot . 0)
(window-height . 0.33)))))
(use-package winner
:commands (winner-mode winner-undo winner-redo))