Changing VI background colour

By default, the VI editor on Linux has a dark background (black) and syntax highlighting uses a lot of dark colours too, for example, dark red or dark blue, resulting in text that is very hard to read.

You can use the following command to change the colours to your liking:

:highlight Normal ctermfg=grey ctermbg=darkblue

Leave a Reply

Your email address will not be published.