隐藏vim cmdline

时间:2016-07-21 19:32:48

标签: vim

我知道这是一个小小的强迫症,但是现在我已经骗了我的vim和tmux配置,我很好奇是否可以在不使用时折叠空的vim cmdline 。它只是坐在那里占据了宝贵的垂直房地产线!

Vim cmdline being a total space hog

1 个答案:

答案 0 :(得分:4)

来自: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参数必须是正数,所以不,不可能隐藏cmdline。