"显示行号 set number "设置标尺 set ruler "突出显示输入的命令 set showcmd "突出显示当前号 set cursorline "设置不自动换行 set nowrap "开启语法高亮 syntax enable syntax on "设置缩进 set autoindent "四个空格代替一个 tab set tabstop=4 set shiftwidth=4 set softtabstop=4 "文件折叠 set foldenable set foldmethod=manual set foldmethod=indent set foldmethod=syntax "设置匹配 set showmatch "设置退格 set backspace=indent,eol,start "用空格键替换制表符 set expandtab "高亮搜索 set hlsearch "检测文件类型 filetype on filetype plugin on filetype indent on "设置编码 set fenc=utf-8 set encoding=utf-8 set fileencodings=utf-8 "解决consle输出乱码 language messages zh_CN.utf-8
本文出自 “我相信” 博客,请务必保留此出处http://mrcelite.blog.51cto.com/2977858/1763450
原文地址:http://mrcelite.blog.51cto.com/2977858/1763450