aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-08-15 11:19:16 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-08-15 11:19:16 +0100
commitcf6f530506d2d02a70fed1906ba5e74cdfb1a93a (patch)
tree350d5c6e023c88fe54a064eed4c8e3e7c100c987 /Emacs/.config/emacs/config.org
parentac3618ab5b3c00a085ea554b152977c6411fb7ca (diff)
downloaddotfiles-cf6f530506d2d02a70fed1906ba5e74cdfb1a93a.tar.gz
dotfiles-cf6f530506d2d02a70fed1906ba5e74cdfb1a93a.tar.bz2
dotfiles-cf6f530506d2d02a70fed1906ba5e74cdfb1a93a.zip
~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.
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org54
1 files changed, 17 insertions, 37 deletions
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