2010年1月11日 星期一

Vim筆記(二)

設定如果有出現 Error 這個字的話, 就會將這個字以紅底白字顯示
:match ErrorMsg /^Error/

如果要看有哪些顏色群組可以用,可以下
:so $VIMRUNTIME/syntax/hitest.vim

移除效果:
:match NONE

自定顏色群組:
highlight MyGroup ctermbg=red guibg=red guifg=yellow term=bold

沒有留言: