[Gllug] vim nasty colours

Stephen Harker steve at pauken.co.uk
Mon Dec 27 23:09:49 UTC 2004


On Mon, 2004-12-27 at 22:53 +0000, Alain Williams wrote:
> On Mon, Dec 27, 2004 at 10:47:30PM +0000, Stephen Harker wrote:
> > On Mon, 2004-12-27 at 22:39 +0000, Alain Williams wrote:
> > > Something that I ought to know & discovered once, but forgot.
> > > 
> > > I have to use vi/vim on one machine, and the poxy thing insists on trying to
> > > colourise (or should I say colorize ?) shell scripts & the such. The result is
> > > that they are completely unreadable (eg dark blue on my black background).
> > > How do I switch this perverse misfeature off ? I want it black & white (as God intended).
> > > 
> > > I have searched through the documentation but can't see anything.
> > 
> > Well, you could put
> > 
> > set background=dark
> > syntax on
> > 
> > in to ~/.vimrc to make it colourise properly with a black background.
> 
> Hmmmm, works, but makes the file look like a Christmas tree ...

Well, personally, I find it very useful when editing html or scripts or
whatever to have the highlighting on, especially if it's been formatted
badly in the first instance - by someone else of course :-)
Helps to seperate the wood from the trees so to speak.

Steve

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list