Reputation: 3446
I know this is a little OCD, but now that I've tricked out my vim and tmux configs, I'm curious if it's possible to collapse the empty vim cmdline when not in use. It just sits there taking up a precious line of vertical real-estate!
Upvotes: 2
Views: 1609
Reputation: 649
In Vim 9.0.0114 and Neovim 0.8 (prerelease), set cmdheight=0
hides the command line.
Upvotes: 0
Reputation: 1616
From :help cmdheight
:
'cmdheight' 'ch' number (default 1)
global
{not in Vi}
Number of screen lines to use for the command-line. Helps avoiding
hit-enter prompts.
The value of this option is stored with the tab page, so that each tab
page can have a different value.
set cmdheight
argument must be positive, so no, it's not possible to hide the cmdline.
Upvotes: 9