Open help-like buffers in side window

This commit is contained in:
Jeremy Dormitzer 2024-04-22 20:00:53 -04:00
parent 5e7421d36c
commit 071aa788c8

View File

@ -43,10 +43,25 @@
(setopt switch-to-buffer-in-dedicated-window 'pop
switch-to-buffer-obey-display-actions t
split-height-threshold nil
display-buffer-alist '(("\\*Help\\*" (display-buffer-reuse-window
display-buffer-pop-up-window))
("\\*helpful .*\\*" (display-buffer-reuse-mode-window
display-buffer-pop-up-window))
window-sides-slots '(1 0 0 1)
display-buffer-alist '(("\\*Help\\*"
(display-buffer-reuse-window
display-buffer-in-side-window)
(side . right)
(slot . 0)
(window-width . 85))
("\\*helpful .*\\*"
(display-buffer-reuse-mode-window
display-buffer-in-side-window)
(side . right)
(slot . 0)
(window-width . 85))
("\\*eldoc\\*"
(display-buffer-reuse-window
display-buffer-in-side-window)
(side . right)
(slot . 0)
(window-width . 85))
("\\*vterm.*\\*"
(display-buffer-reuse-mode-window
display-buffer-pop-up-window)