在服务器上进行vi的时候发现无法进行高亮显示,从alias发现没有调用vim,然后找到了这个牛人写的vim配置文件。
The ultimate in Vim configuration:
- http://amix.dk/vim/vimrc.html - syntax highlighted
- http://amix.dk/vim/vimrc.txt - raw version
You can use parts of it or install the whole package.
Installing the whole package
You can install my whole Vim configuration easily (along with some very useful plugins and colorschemes).
To install it simply do following:
$ mkdir ~/.vim_runtime $ svn co svn://orangoo.com/vim ~/.vim_runtime $ cat ~/.vim_runtime/install.sh $ sh ~/.vim_runtime/install.sh <system> <sytem> can be `mac`, `linux` or `windows`
My Vim configuration includes following plugins:
- minibufexpl.vim - get an overview of open buffers
- bufexplorer.vim - switch between buffers fast
- yankring.vim - makes it easy to manage clipboard
- snipMate.vim - snippets from TextMate
- surround.vim - makes it speedy to surround text
- fuzzyfinder - find files quickly (similar to TextMate's find feature)
Happy hacking ;-)
The colorscheme I use is called peaksea and looks like this:
转载于:https://blog.51cto.com/rambler/677292