[Gllug] Vim question

mriscott at yahoo.co.uk mriscott at yahoo.co.uk
Fri Aug 9 10:50:29 UTC 2002


> Can I ask a vim expert please how to stop vim
> colourising things? It drives me crazy - I would
> want it just to act like vi.
> 
> I have RTFMs a little, but can't figure this one
> out. Apologies in advance if the answer is obvious.
>

To switch off highlighting:

:syntax off


For more vi-like behaviour:

:set compatible

This apparently makes vim "behave Vi-compatible as much as possible"

(although it doesn't automatically switch off highlighting)

These commands can be put in your .vimrc.


NB.  If you really want vi, why not just install it?  Or in fact, find it.
There is a good chance there is a real vi on your box somewhere, but vim is
symlinked to 'vi' somewhere higher up your PATH.





-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list