XK8ER
asked on
colors with vin editor
hello there
i am using centos v5.2 and I would like to know how can I see colors while using the vi editor from the shell
the text colors used to look more or less like this
http://www.robherbst.com/blog/wp-content/uploads/2006/12/vimcolorscheme.jpg
http://www.igormud.org/g_client_files/image003.gif
but now the whole text looks like this http://molly.com/articles/webthoughts/2000-10-texteditors-fig1.gif
i am using centos v5.2 and I would like to know how can I see colors while using the vi editor from the shell
the text colors used to look more or less like this
http://www.robherbst.com/blog/wp-content/uploads/2006/12/vimcolorscheme.jpg
http://www.igormud.org/g_client_files/image003.gif
but now the whole text looks like this http://molly.com/articles/webthoughts/2000-10-texteditors-fig1.gif
mostly vim is installed already on centos
ASKER
yes its already installed.. when I type
vi /etc/bashrc
I see the editor but it doesnt show colors.. its just plain white.. how can I change that?
vi /etc/bashrc
I see the editor but it doesnt show colors.. its just plain white.. how can I change that?
run vim not vi
ASKER
yes but i would like to have vi same as vim.. how can I do that?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
yum install vim-minimal.i386.
You may need to run yum install vim-common.i386 also.
After that you can run the vi command as usual and it will run vim in stead (which is an enhanced version of vi)
Remember to change i386 if you are using another arch.