Hi! I’m clsung

Hi! I’m clsung

clsung’s blog site, or you can call me AlanSung

Hi! I’m clsung RSS Feed
 
 
 
 

[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:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • funp
  • Haohao
  • Hemidemi
  • Live
  • MisterWong
  • TwitThis
  • udn

2 Responses to “[vim] comment 的顏色”

  1. 1
    Gea-Suan Lin's BLOG:

    vim theme
    AlanSung 說 comment 預設顏色 (深藍色) 看起來很吃力 (其實一堆人抱怨過了吧,vim.org 怎麼一直不改掉啊)…

    我建議是直接換 theme 啦,請參考 /usr/local/share/vim/vim63/colors/ 下的一堆設定,我自己是

  2. 2
    clsung:

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

    colo koehler

    ,不過

    colo elflord

    也不錯。

Leave a Reply

噗浪:

  • clsung 說 本週六要上班.... 累 4 hours 前
  • clsung 說 下雨... 9 hours 前
  • clsung 說 News98 這個時段的廣播變了 12 hours 前

分類

Flickr

    clsung. Get yours at bighugelabs.com/flickr

Blogroll

    馬的警總回來了
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan