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