[vim] comment 的顏色

之前一直是深藍色,在黑色背景下看得有夠吃力的。
剛剛翻了翻 VIM.org ,加上下列幾行,就變成顧眼睛的綠色啦 :oops:

if &background == “light”
highlight comment ctermfg=darkgreen guifg=darkgreen
else
highlight comment ctermfg=green guifg=green
endif
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • funp
  • Haohao
  • Hemidemi
  • Live
  • MisterWong
  • TwitThis
  • udn
 

One reply


  1. 謝啦,不過我看 yjchou 的 Vim Theme Preview 之後,決定用

    colo koehler

    ,不過

    colo elflord

    也不錯。

One trackback

Leave a reply

Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan