I just did a minimal desktop install of CentOS 6 and did not like the default vi / vim color scheme.
Here is where the color schemes are located:
/usr/share/vim/vim72/colors
In the above example, vim72 is the version of vim, yours could be different.
First you have to copy /etc/vimrc to your home directory and rename to .vimrc
Now edit .vimrc that is in your home directory and add the following,
:color <yourcolorscheme>
So instead of <yourcolorscheme> you would put the color scheme you want from
/usr/share/vim/vim72/colors
It would have colors scheme files like this:
blue.vim, delek.vim, desert.vim, evening.vim etc. etc.
So when you add it to your .vimrc you don't need the .vim part. Just do:
:color blue
Great blog! All posts have something to learn. Your work is very good and i appreciate you and hoping for some more informative posts. thanks
ReplyDeletewww.n8fan.net
Good thats work for me
ReplyDelete