Vim can also display in other colors instead of displaying in just black and white text and background combo. It can be done by changing the color scheme.
To change the color scheme, follow any of the following methods;
While in Vim, press the ESC key to get into command mode. Typing the following command followed by Enter will change the color scheme to blue.
Press the TAB button to cycle through the available color schemes.
The following color schemes are available;
blue, darkblue, default, delek, desert, elflord, evening, koehler, morning, murphy, pablo, peachpuff, ron, shine, slate, torte, zellner
To make the setting permanent, add the following line to /etc/vimrc or ~/.vimrc
Comment anonymously. Login not required.