繁体   English   中英

如何设置窗口分割的高度?

[英]How can I set the height for window split?

:sp水平将当前窗口分成两部分。

如何设置新窗口的高度

我在想类似的东西:

:sp --width=30

通过在:split前面加上数字,可以设置高度:

" Split a 10-line height window above:
:10split

" Or to open the new viewport below the current
:below 10split

来自:help split

:[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)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM