一款非常不錯的vim配色
首先看看這款配色是否喜歡:
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-
posted on 2014-04-15 19:13 so true 閱讀(750) 評論(0) 編輯 收藏 所屬分類: Linux