How to change Vi editor background
you can either
- play around with
:set background=dark :set background=light
- or use another colorscheme:
:colorscheme tab
- or change the coloring for a 'comment' in your current colorscheme with
:highlight Comment
(this shows you the current settings, change it via
:highlight Comment guibg=white
or to whatever color you want.
You can say the following in vim:
:set background=dark
This will set the syntax highlighting to bright colours. The opposite will set it to dark colours:
:set background=light