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

Laast year I kudn't spell Software Engineer. Now I are won.
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to