From cfe1dcfa0a006862bdeb3052e6b9ccdce51dd27f Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 16 Apr 2023 10:57:26 +0200 Subject: [PATCH] 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. --- init.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/init.el b/init.el index 2b90750..0156573 100644 --- a/init.el +++ b/init.el @@ -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))