I usually work in a drop-down terminal, running about 25 characters high. Since I prefer tabs to windows1, usually a lot of horizontal space is wasted - around half of the terminal width.
On top of that, Vim, with the default setting of helpheight
, leaves just about a couple of lines of the file content when I open a help window:
Is there a way to make :h
use a vertical split?
I could:
- decrease
helpheight
- use
<C-W>L
to manually move the window - make a map or a custom command which does the above for me.
Is there a simpler way?
1I do use windows when I need to look at multiple files together. But usually I prefer each file to be in its own (mental) context.
:tab help
So that current layout is not affected