I know that it is possible: I googled it some time ago, but now I can't find the solution.
What do I need add to .vimrc
to resize my current active window in full height automatically after window changing?
I know that it is possible: I googled it some time ago, but now I can't find the solution.
What do I need add to .vimrc
to resize my current active window in full height automatically after window changing?
You can do it with an auto command, filtering the WinEnter
event:
autocmd WinEnter * resize
resize
without argument expand the height to max.
Refs:
:h resize
:h autocmd-events
If I understand what you mean by window, this should do it.
set winheight=999
set winminheight=0
See
:help 'winheight'
:help 'winminheight'