vim常用设置

: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.
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容