[英]Hide vim cmdline
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.我知道这有点强迫症,但现在我已经欺骗了我的 vim 和 tmux 配置,我很好奇是否有可能在不使用时折叠空的 vim cmdline。 It just sits there taking up a precious line of vertical real-estate!
它只是坐在那里占据了一条宝贵的垂直房地产线!
From :help cmdheight
: 来自
: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. set cmdheight
参数必须为正,所以不,不可能隐藏cmdline。
In Vim 9.0.0114 and Neovim 0.8 (prerelease) , set cmdheight=0
hides the command line.在Vim 9.0.0114和Neovim 0.8 (prerelease)中,
set cmdheight=0
隐藏命令行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.