: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...