Sunday, May 16, 2010

Installing vim colorscheme

Having googled n times about installing vim colorscheme, I have finally decided to blog about it so that it will be a reference (for me at atleast :-P ).

If you are a n00b vim user and hence do not know how to install vim colorscheme and you google, you get stuck. Most of the references ask you to download the colorscheme and put it in your ~/.vim/colors.

Yeah... its simple :)
But er... wait a second. I do not have a .vim floder. So what do I do ?
Create one!
Ok... I create .vim/colors and put the colorscheme there. But alas! the new colorscheme is still not listed.

Then it flashed that I cannot just create a .vim/colors folder and put my favourite colorscheme in it and expect vim to understand.

By default vim colorschemes are in


/usr/share/vim/vimcurrent/colors. So, just move the downloaded colorscheme to this folder.


$sudo mv .vim /usr/share/vim/vimcurrent/colors


And your favourite colorscheme is installed.

To have the colorschemes in your .vim/colors just create symbolic link.

$sudo ln -s /home/ramya/.vim/colors/ /usr/share/vim/vimcurrent/colors/


:-) Its simple!

My favourite colorscheme is ir_black.

For more on symbolic links :

2 comments:

spinor said...

Phooey, you are a vimmie now :P

Yeah, it is always nice to document these small things somewhere, more so on your blog, since it'll be useful to you and others as well.

Have fun with ViM! (Though I'd still recommend Emacs :P)

kashyap j garimella said...

Oooh! You blogged on VIM! Great! This time you are going give a talk on Vim! What do you think? We are going to leave you so easily even after blogging on Vim? Never! We want Vim! We want Vim! I don't want to mess this blog with protests. Give a talk or else you'll find hard time tackling the protesters :P... ha ha...