Installing and using VIM colorschemes

To change the colorscheme in your VIM text editor, it is a good idea to first install Vundle and use it to import colorschemes into your VIM. Do the git clone https://github.com/gmarik/Vundle.vim.git to ~/.vim/bundle/Vundle.vim

Now create .vimrc file if you dont have one, in your root directory:

                    vim ~/.vimrc
                

To get some inspiration and paths to color schemes I advise to go to vimcolors.com and browse the page until you find your fit. Then click on it, and on the bottom right corner you will find “Source” which links to its github page. Remember this address because you will need it to tell Vundle where your theme is.

Got your theme? Lets install it. Do the vim ~/.vimrc again and add plugin. After the “ let vundle manage Vundle, required” line add new line which says for example:

                    Plugin ‘vim-scripts/greenvision’
                

If the github address is for example: https://github.com/vim-scripts/greenvision, you just remove the https://github.com/ part and write the rest as above. Vundle will handle the rest, you just have to command it from vim with this command:

                    :PluginInstall
                

If there are any errors make sure you spelled the name of colorscheme right. Now just pick the theme with this vim command:

                    :colorscheme greenvision
                

Thats it! Happy coding with your new VIM.

22/10/2017