Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > Configuration > Issue <<  339 of 606 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 3343
Last update: 08-03-04
Issue:
How do I turn off the colors in vi or vim?
Resolution:
In Red Hat Enterprise Linux the vi text editor is aliased to vim, an enhanced version of vi. Some people do not like the colors and highlighting of vim and want it to look like the old vi.

The easiest way to fix this is to turn off the syntax of vim. Type the following command in vim, to turn the colors off.
:syntax off
If you wish to turn the colors and highlighting back on just type:
:syntax on
vim is a very customizable program with a wide variety of syntax options. You can even create you own color and highlighting schemes. More information is available in the documentation accessible by typing the following:
:help
:help syntax


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > Configuration > Issue <<   339  of  606  >>