vim简单的配置
"设置当文件被改动时自动载入 set autoread "在左侧行号 set nu "tab长度为4 set tabstop=4 "覆盖文件时不备份 set nobackup "自动缩进 set smartindent "突出显示当前行 "set cursorline "右下角显示光标位置状态 set ruler "自动缩进 set autoindent "设置自动保存 set autowrite "代码补全 "set completeopt=preview,menu "编码设置 set enc=utf-8 set fencs=utf-8,ucs-bom,shift-jis,gb18030,gbk,gb2312,cp936 "语言设置 set langmenu=zh_CN.UTF-8 set helplang=cn "高亮显示匹配的括号 set showmatch "设置为十进制 set nrformats=