Quantcast
Channel: eTechtips » vi
Viewing all articles
Browse latest Browse all 4

Vi: toggle syntax highlighting

$
0
0

If you have ever used vi to edit source code, there are occasions where you get on a system that has a very difficult to read color mode. At these times you want the colors to just go away. You can use the following in command mode in vi:

This will toggle off the syntax highlighting mode.

:syntax off

This will turn it back on.

:syntax on

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles



Latest Images