隐藏vim cmdline

Par*_*ult 3 vim

我知道这有点强迫症,但是既然我欺骗了vim和tmux配置,我很好奇是否有可能在不使用时折叠空的vim cmdline。它只是坐在那里,占据了宝贵的垂直房地产线!

Vim cmdline是一个总太空猪

imb*_*hie 5

来自: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.
Run Code Online (Sandbox Code Playgroud)

set cmdheight 参数必须为正,所以不能,无法隐藏cmdline。