A question for developers

Manish Jain invalid.pointer at gmail.com
Fri Aug 14 16:24:38 UTC 2009


Hi Steve,

> Vim also does colours/syntax highlighting I found, but quickly disabled
> the colours, as I didn't like them as much as I thought I would.

I wouldn't blame you for not liking Vim's default syntax 
highlighting. However, you can try the my set instead which took me 
  days to fine-tune to my liking.

(But first, put the following line into your .vimrc :
map <F12> :syntax on <CR> :so ~/syntax.vim <CR>

Then after starting gvim, press F12. That's the wat I do it.)


~/syntax.vim contents :
hi Cursor guifg=white guibg=black
hi Identifier guifg=black gui=bold
hi NonText guibg=grey72

"black
hi Normal guifg=black
hi Statement guifg=black
hi shFunction guifg=black gui=bold

"grey30
hi Comment guifg=grey30
hi shCommandSub guifg=grey30 gui=bold

"red
hi Constant guifg=red
hi Directory guifg=red
hi cFormat guifg=red gui=bold

"light-brown
hi shSpecial guifg=#b07030
hi SpecialKey guifg=#b07030
hi shOption guifg=#b07030
hi shCase guifg=#b07030

"green
hi Special guifg=#007700 gui=bold
hi shExprRegion guifg=#007700 gui=bold
hi PreProc guifg=#007700 gui=bold
hi Statement guifg=#007700 gui=bold
hi Repeat guifg=#007700 gui=bold
hi shRepeat guifg=#007700 gui=bold
hi shConditional guifg=#007700 gui=bold
hi shStatement guifg=#007700 gui=bold

"deep-blue
hi Type guifg=#000099 gui=bold
hi shShellVariables guifg=#000099
hi shVariable guifg=#000099

"muddy brown
hi String guifg=#dd4400
hi shString guifg=#dd4400

"black on yellow
hi IncSearch guibg=yellow guifg=black
hi Search guibg=yellow guifg=black
hi Question guibg=yellow guifg=black

"other
hi Operator guifg=#0088ee gui=bold				"blue
hi shOperator guifg=#0088ee gui=bold
hi StorageClass guifg=#bb0099 gui=bold			"purplish
hi SpecialChar guifg=#00aa88 gui=bold			"greenish cyan

-- 
Regards
Manish Jain
invalid.pointer at gmail.com
+91-96500-10329

Laast year I kudn't spell Software Engineer. Now I are won.


More information about the freebsd-questions mailing list