Is there an Emacs equivalent of Vim's C-w _
? This command "maximizes" the current window by making it as tall as possible (thus shrinking all of the other windows to be as small as possible).
Importantly, in Vim the other windows don't disappear when you enlarge the current window too far. Instead the current window stops enlarging so that the other windows can continue to live.
In Emacs, windows disappear when they shrink below window-min-height
lines. This is annoying. Instead I want the other windows to shrink to window-min-height
lines high, and then stop shrinking so they don't go away. Then I could just do (enlarge-window 1000)
. However I can't figure out how to get this to work.
I'm open to other strategies for maximizing windows if the above isn't possible.