本来很少弄vim的配置文件,弄也是windows下的vim,很简单,就是_vimrc文件;
结果最近在AIX下编译了GNU VIM后,找不到配置文件,以为像Linux样是/etc/vim之类,结果不是,非常郁闷,后来查看vim的man才发现是/usr/local/share/vim/vimrc,顺便把其他配置文件的解释也列下来,方便以后查看:
/usr/local/share/vim/vim73/doc/*.txt
The Vim documentation files. Use ":help
doc-file-list" to get the complete list.
/usr/local/share/vim/vim73/doc/tags
The tags file used for finding information in
the documentation files.
/usr/local/share/vim/vim73/syntax/syntax.vim
System wide syntax initializations.
/usr/local/share/vim/vim73/syntax/*.vim
Syntax files for various languages.
/usr/local/share/vim/vimrc
System wide Vim initializations.
~/.vimrc Your personal Vim initializations.
/usr/local/share/vim/gvimrc
System wide gvim initializations.
~/.gvimrc Your personal gvim initializations.
/usr/local/share/vim/vim73/optwin.vim
Script used for the ":options" command, a
nice way to view and set options.
/usr/local/share/vim/vim73/menu.vim
System wide menu initializations for gvim.
/usr/local/share/vim/vim73/bugreport.vim
Script to generate a bug report. See ":help
bugs".
/usr/local/share/vim/vim73/filetype.vim
Script to detect the type of a file by its
name. See ":help 'filetype'".
/usr/local/share/vim/vim73/scripts.vim
Script to detect the type of a file by its
contents. See ":help 'filetype'".
/usr/local/share/vim/vim73/print/*.ps
Files used for PostScript printing.
本文转自 xkdcc 51CTO博客,原文链接:http://blog.51cto.com/brantc/386361,如需转载请自行联系原作者