I’m using VIM in red hat 5, with the black background and green letters. However, I don’t like the color schema for strings (“”) nor reserved C++ key variables (int for example it is in dark green). Could someone please give me some suggestions how could I change those default colors?
I know, for example, to change the comment collor I do
hl Comment ctermfg=yellow
Type
:hi, then hit Enter. A list of highlighting definition will show.The
C++groups start withc.intis acType. Try:You can put your custom highlighting commands into
vimrc(aftercolorscheme nameandsyntax on).