[emacs-berlin] Open a new window splitting the frame horizontally
jman
emacs-berlin at city17.xyz
Mon Nov 18 22:19:04 UTC 2024
Michael Heerdegen <michael_heerdegen at web.de> writes:
> When, and doing what (recipe?)?
I am not able to reproduce anymore. Now it just works without errors. I have restarted Emacs and
probably "cleaned up" all the layers of bad code I was accumulating :-)
The solution I choose for now is a variant of what Abby suggested:
(add-to-list 'display-buffer-alist
'("\\*rg\\*"
(display-buffer-below-selected display-buffer-at-bottom)
(inhibit-same-window . t)
(window-height . balance-windows)))
which will split horizontally, open the window at the botton with height evenly split
(balance-windows). I am not sure if I need `inhibit-same-window`.
But thanks anyway, today I've learned something new!
More information about the emacs-berlin
mailing list