VIM常用设置

批量替换:

 #:%s/source_pattern/target_pattern/g

"My Custom Configuration

filetype plugin indent on "开启插件
syntax on "打开颜色高亮
set nocompatible "设置为不兼容模式(兼容vi)
set tabstop:4 "设置TAB符的长度
set nu "显示行号
set guifont=Luxi/Mono/9 "设置字体
set autoindent "设置自动缩进
set cursorline "设置光标所在行的下划线提示
set hlsearch "搜索字高亮显示
set incsearch "根据搜索到的字,自动切换到该字的位置
set laststatus=2 "显示状态栏

原文地址:https://www.cnblogs.com/mysic/p/6004564.html