configure help buffers to always open in the same window

This commit is contained in:
Gered 2024-12-07 13:12:49 -05:00
parent 414a031463
commit 78ada61d89

View file

@ -11,6 +11,14 @@
(setopt x-underline-at-descent-line nil)
(setopt switch-to-buffer-obey-display-actions 1)
; help buffers always open in the same window. mainly this helps make it so
; opening links in help buffers doesn't cause them to open in new windows
; each time. ugh!
; TODO: admittedly this makes initially opening help slightly more annoying as
; the first help buffer will *also* open in the same window.
(add-to-list 'display-buffer-alist
'("*Help*" display-buffer-same-window))
(setopt show-trailing-whitespace nil)
(setopt indicate-buffer-boundaries 'left)