This means we can use colo which is unique and address colorscheme command. But provided part should be uniquely identifier. Vim provides shortcut usage for commands. Set Color Scheme with colorscheme Command Set Color Scheme with colo Command In this example we will select desert.Īnd the Python script syntax will be highlighted like below. We will just provide the color scheme name to the colorscheme command. Actually we were very close to select color scheme in previous step.
We will select color scheme with colorscheme command. Now we know what color schemes are available. Then SPACE and TAB List Vim Color Schemes with colorscheme Command Set Color Scheme with colorscheme Command Currently selected color scheme will be colored as yellow like below. This will list avaibilible color schemes. We can use colorscheme command and then press space and tab. We have an other option where we can list color schemes. List Vim Color Schemes with colorscheme Command We can use ls -l command in order to print available color schemes. Vim color schemes are stored in vim directory named /usr/share/vim/vim80/colors/ but vim80 can be different according to vim version. Vim Copy, Cut and Paste Commands and Operations List Vim Color Schemesīefore selecting a color scheme we need to list vim provided color schemes.
Linux Vi and Vim Command Line Text Editor Tutorial Reading following tutorials will be beneficial.
Configure vim colors how to#
In this tutorial we will look how to change color schemes. Vim have color scheme and highlighting features where different syntax for programming languages can be printed in a pretty and understandable form. I prefer vim because of its featured over nano etc. Vim is very popular ans useful text editor based command line and GUI.