From cf6f530506d2d02a70fed1906ba5e74cdfb1a93a Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 15 Aug 2020 11:19:16 +0100 Subject: ~display-buffer-in-side-window -> display-buffer-at-bottom This works out better as it stacks the windows on top of each other rather than squishing them in the bottom pane. Furthermore, which key looks nicer with this. --- Emacs/.config/emacs/config.org | 54 +++++++++++++----------------------------- 1 file changed, 17 insertions(+), 37 deletions(-) (limited to 'Emacs/.config/emacs/config.org') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 23d6c3e..cbcc686 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -716,55 +716,35 @@ want to configure and fine tune the window management of Emacs. #+BEGIN_SRC emacs-lisp (setq display-buffer-alist '(("\\*e?shell\\*" - (display-buffer-in-side-window) - (window-height . 0.25) - (side . bottom) - (slot . 0)) + (display-buffer-at-bottom) + (window-height . 0.25)) ("\\*[Hh]elp.*" - (display-buffer-in-side-window) - (window-height . 0.25) - (side . bottom) - (slot . 1)) + (display-buffer-at-bottom) + (inhibit-duplicate-buffer . t) + (window-height . 0.25)) ("magit:.*" - (display-buffer-in-side-window) - (side . right) - (slot . -1) - (window-width . 0.5)) + (display-buffer-same-window)) ("magit-diff:.*" - (display-buffer-in-side-window) - (side . right) - (window-width . 0.5)) + (display-buffer-below-selected)) ("magit-log:.*" - (display-buffer-in-side-window) - (side . right) - (window-width . 0.5)) + (display-buffer-same-window)) ("\\*compilation\\*" - (display-buffer-in-side-window) - (side . bottom) - (slot . -1) + (display-buffer-at-bottom) (window-height . 0.25)) ("\\*Flycheck.*" - (display-buffer-in-side-window) - (side . bottom) - (window-height . 0.25) - (slot . 0)) + (display-buffer-at-bottom) + (window-height . 0.25)) ("\\*rg.*" - (display-buffer-in-side-window) - (side . bottom) - (window-height . 0.25) - (slot . 1)) + (display-buffer-at-bottom) + (window-height . 0.25)) ("\\*Python\\*" - (display-buffer-in-side-window) - (side . bottom) + (display-buffer-at-bottom) (window-height . 0.25)) ("\\*Org Export.*" - (display-buffer-in-side-window) - (side . bottom) - (window-height . 0.25) - (slot . 0)) + (display-buffer-at-bottom) + (window-height . 0.25)) ("\\*Async Shell Command\\*" - (display-buffer-in-side-window) - (side . bottom) + (display-buffer-at-bottom) (window-height . 0.25)) )) #+END_SRC -- cgit v1.2.3-13-gbd6f