首先看看这款配色是否喜欢:
http://vimcolorschemetest.googlecode.com/svn/html/bensday-c.html
如果喜欢,现在教你如何在terminal下达到该效果(注意:不是在gvim下):
1。add the following line in .bashrc:
export TERM=xterm-256color
2。install CSApprox:
http://www.vim.org/scripts/script.php?script_id=2390
3。install bensday.vim color scheme:
http://vimcolorschemetest.googlecode.com/svn/colors/bensday.vim
4。add following lines to .screenrc(refer: http://robotsrule.us/vim/):
#attrcolor b ".I"
#termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E38;5;%dm'
defbce "on"
5。modify the guibg value to grey15 of 37th line in bensday.vim as following:
hi NonText term=bold ctermfg=LightBlue gui=bold guifg=LightBlue guibg=grey15
这个页面下有大量的配色方案供你选择(注意:有些打不开,需要用国外代理打开)
http://vimcolorschemetest.googlecode.com/svn/html/index-c.html
这个页面也介绍了几款配色不错的方案:
http://www.oschina.net/news/32306/10-vim-color-schemes-you-need-to-