Link to home
Start Free TrialLog in
Avatar of XK8ER
XK8ERFlag for United States of America

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
Avatar of Billetkontoret
Billetkontoret

You can install the vim-editor instead. It can be done with the command:

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.
Avatar of omarfarid
mostly vim is installed already on centos
Avatar of XK8ER

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?
run vim not vi
Avatar of XK8ER

ASKER

yes but i would like to have vi same as vim.. how can I do that?
ASKER CERTIFIED SOLUTION
Avatar of Billetkontoret
Billetkontoret

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial