Download a colorsheme e.g. mustang from here move it to ~/.vim/colors
In your ~/.vimrc add line
colorscheme mustang
I was getting
Error detected while processing /home/morteza/.vimrc:
line 2:
E185: Cannot find color scheme mustang
Press ENTER or type command to continue
So you get rid of the error but the coloring doesn't work, to fix it you need to add the following line to your ~/.vimrc
set t_Co=256
Enjoy a cool coloring for your vim!
No comments:
Post a Comment