Wednesday, July 29, 2015

Brighter comments in vim

By default, colors in vim are too dark to read.  Brighten comments with the following vim command:

:hi comment ctermfg=blue

Another option is to tell vim that it is running a dark background:

:set background=dark

Put this in the .vimrc file so you do not have to type it in during every session:

set background=dark