Vim can also display in other colors instead of 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;
Command mode (temporary)
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.
:colorscheme 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
Edit configuration file (permanent)
To make the setting permanent, add the following line to /etc/vimrc or ~/.vimrc
colorscheme blue

Author: Mohd Shakir Zakaria
Mohd Shakir Zakaria is a skilled cloud architect with a background in development, entrepreneurship, and open-source advocacy. As the founder of Simplified Guide, he helps others understand the complexities of computing, making tech concepts accessible to all.

Mohd Shakir Zakaria is a skilled cloud architect with a background in development, entrepreneurship, and open-source advocacy. As the founder of Simplified Guide, he helps others understand the complexities of computing, making tech concepts accessible to all.
Discuss the article:
Comment anonymously. Login not required.