Vim 如何设置窗口拆分的高度?
Vim 如何设置窗口拆分的高度?,vim,Vim,:sp将当前窗口水平拆分为两个 如何设置新窗口的高度 我在想象这样的事情: :sp --width=30 通过在:split前面加上数字,可以设置高度: " Split a 10-line height window above: :10split " Or to open the new viewport below the current :below 10split 从:帮助拆分: :[N]sp[lit] [++opt] [+cmd]
:sp
将当前窗口水平拆分为两个
如何设置新窗口的高度
我在想象这样的事情:
:sp --width=30
通过在
:split
前面加上数字,可以设置高度:
" Split a 10-line height window above:
:10split
" Or to open the new viewport below the current
:below 10split
从:帮助拆分:
:[N]sp[lit] [++opt] [+cmd] :sp :split
Split current window in two. The result is two viewports on
the same file. Make new window N high (default is to use half
the height of the current window)