Wednesday, June 25, 2008

Changing color schemes in vim

You can change the color scheme of vim by the following command:
:color
The list of available color schemes could be found under /usr/share/vim/vim63/colors/ (If you are using a different version of vim then vim63 might be different for you). If you see file called blue.vim under this directory, to make use of that color scheme, you should give:
:color blue
If you would like to make the change permanent, add this line to your ~/.vimrc file.

No comments: