How to write a VIM color scheme?

后端 未结 5 617
慢半拍i
慢半拍i 2021-01-30 08:49

I have been looking around for VIM color schemes and found some great ones out there (esp. by using http://code.google.com/p/vimcolorschemetest/), but I always want to change a

5条回答
  •  旧巷少年郎
    2021-01-30 09:33

    colorschemes are actually vim scripts. You use the hi command for coloring, which works like hi TextType guifg=#hexforegroundcolor guibg=#hexbgcolor gui=bold/italic/underlined/undercurled (assumed you use gvim). If you type :hionly, you get a complete list of text types with their current highlighting
    see also http://vimdoc.sourceforge.net/htmldoc/syntax.html#:colorscheme

提交回复
热议问题