:set laststatus=2 #always see a status line for each window, even in single window mode, default is 1.
:set mouse=a #to activate the mouse for all uses: command line, input, and navigation.
:set winheight=8 #define the minimal window height
:set winwidth=8 #define the minimal window width
:set winheight=8 #When entering or creating a window, set its height to at least the specified value.
:set winwidth=8 #When entering or creating a window, set its width to at least the specified value.
:set equalalways #When the number of windows changes, either by splitting or closing windows, resize them to be the same size.
:set eadirection #Define whether Vim resizes windows equally vertically, horizontally, or both.
:set cmdheight=8 #Set the command line height.
:set winminheight=8 #Define the minimum window height, which applies to all windows created.
:set winminwidth=8 #Define the minimum window width, which applies to all windows created.
vim常用设置
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
推荐阅读更多精彩内容
- 如果你使用ubuntu等发行版,在使用的时候出现不能将vim的文本复制粘帖到其他软件,使用+y +p都不行用下面的...
- 1.历史命令 以:和/开头的命令都有历史纪录,可以首先键入:或/然后按上下箭头来选择某个历史命令。 2.启动vim...
- 1、Vim升级7.4 原理 Mac系统自带vim7.3版本,但是最新的vim是7.4版本。所以需要将Mac中vim...