[GLLUG] Syntax Highlightin in vi

Basher584 basher584 at basher584.org
Mon Jun 9 10:01:37 EDT 2003


On Sat, Jun 07, 2003 at 05:13:22PM -0400, Matt Graham wrote:
> On Saturday 07 June 2003 13:15, after a long battle with technology, 
> Brad Fears wrote:
> > Anyone know how to disable syntax highlighting in vi so I can get rid
> > of the blue-on-black text (and other, equally annoying color
> > combinations)?
> 
> " in ~/.vimrc
> syntax off
> 
> A better alternative is to go edit /usr/share/vim/$VERSION/syntax/
> syncolor.vim and change the hard-to-see colors to better ones.  If you 
> have a dark background on your xterm/konsole, change all DarkBlue to 
> Blue.  Syntax highlighting is extremely useful in many ways if you give 
> it a better chance.
> 

If you have a dark background, I find the command:
set background=dark
much easier then editing all the syntax files :)

-Ben



More information about the linux-user mailing list