Change font color for comments in vim
Most well-behaving colorschemes will respect the background
setting:
set background=dark
would change the color of comments from dark blue to light blue, when using the default colorscheme.
:hi Comment guifg=#ABCDEF
Pick your color! If using a color terminal, replace guifg=#ABCDEF
with ctermfg=N
with N being a color number.
Also type :help :hi
for more information.
hi Comment ctermfg=LightBlue
Add this to your .vimrc
file which is either in your ~
or the /etc/vim
directory. This will make it permanent. I haven't tested this with gvim.
I also have set background=light
before I set comment color. I like all the colors it created except for the comments.