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

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

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

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

hi shSpecial guifg=#b07030
hi SpecialKey guifg=#b07030
hi shOption guifg=#b07030
hi shCase guifg=#b07030

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

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

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

Manish Jain
invalid.pointer at gmail.com

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

More information about the freebsd-questions mailing list