欢迎来到天天文库
浏览记录
ID:15904379
大小:38.50 KB
页数:16页
时间:2018-08-06
《[vim插件配置]vim配置文件种类,加载顺序,基本配置》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、[vim插件配置]Vim配置文件种类,加载顺序,基本配置篇一:Vim配置文件种类,加载顺序,基本配置Vim配置文件种类,加载顺序,基本配置通过查看:version可知Vim配置文件分为三类::versionVIM-ViIMproved7.3系统vimrc文件:“$VIM/vimrc”用户vimrc文件:“$HOME/.vimrc”用户exrc文件:“$HOME/.exrc”$VIM预设值:“/usr/local/share/vim”其各自的加载顺序可通过:scriptname来获知::scripname1:/u
2、sr/local/share/vim/vimrc2:/usr/local/share/vim/vim73/syntax/syntax.vim3:/usr/local/share/vim/vim73/syntax/synload.vim4:/usr/local/share/vim/vim73/syntax/syncolor.vim5:/usr/local/share/vim/vim73/filetype.vim6:/usr/local/share/vim/vim73/ftplugin.vim7:/home/zha
3、nhailiang/.vimrc8:/usr/local/share/vim/vim73/syntax/nosyntax.vim9:/home/zhanhailiang/.vim/plugin/ctag.vim10:/home/zhanhailiang/.vim/plugin/jsbeautify.vim11:/home/zhanhailiang/.vim/plugin/matchit.vim12:/home/zhanhailiang/.vim/plugin/plugin/taglist.vim13:/home
4、/zhanhailiang/.vim/plugin/reload.vim14:/usr/local/share/vim/vim73/plugin/getscriptPlugin.vim15:/usr/local/share/vim/vim73/plugin/gzip.vim16:/usr/local/share/vim/vim73/plugin/matchparen.vim17:/usr/local/share/vim/vim73/plugin/netrwPlugin.vim18:/usr/local/shar
5、e/vim/vim73/plugin/rrhelper.vim19:/usr/local/share/vim/vim73/plugin/spellfile.vim20:/usr/local/share/vim/vim73/plugin/tarPlugin.vim21:/usr/local/share/vim/vim73/plugin/tohtml.vim22:/usr/local/share/vim/vim73/plugin/vimballPlugin.vim23:/usr/local/share/vim/vi
6、m73/plugin/zipPlugin.vim24:/usr/local/share/vim/vim73/scripts.vim25:/usr/local/share/vim/vim73/ftplugin/vim.vim26:/usr/local/share/vim/vim73/syntax/vim.vim27:/usr/local/share/vim/vim73/ftplugin/help.vim28:/usr/local/share/vim/vim73/syntax/help.vim我的Vim配置:“se
7、tbackground=dark命令必须在syntaxon之前调用,否则无效setbackground=darksyntaxonsetnocompatible“let&termencoding=&encodingsetencoding=utf-8settabstop=4setsofttabstop=4setshiftwidth=4setnusetaisetfdm=markersetfoldclose=allsetfoldopen=allsetincsearchsethlsearchsethistory=100s
8、etrulersetshowcmdsetshowmatchsetwhichwrap=b,s,“忽略大小写“若是小写模式搜索,则忽略大小写;若模式中有大写,则就要大小写模式敏感setignorecasesmartcasesetexpandtab“settextwidth=78“dispalytabandspacesetlistsetlistchars=tab:>-,trail:-“num
此文档下载收益归作者所有