Switching Colorschemes in Vim

If you have lots of vim color schemes and you want to check each one out, then, I don’t think anything could be better than this. Check it out.


If you are unsure of how to use it, first save the file ( Found below the Script Section or download it from here) into your plugin directory  ~/.vim/plugin. If it’s not there, make one.

mkdir -p ~/.vim/plugin

cp setcolors.vim ~/.vim/plugin

Restart vim or you can source the file from Vim for immediate effect, like done below.

:so ~/.vim/plugin/setcolors.vim 

Now press F8 to try next scheme
Shift F8 to try previous scheme ( if any )
Alt F8 to try a random one.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s