TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:10298] Vim syntax coloring



> I've read every FAQ and manual I can find on Vim.  They all talk about what a
> wonderful thing 'syntax coloring' is but none of 'em seem to describe how to
> enable it or configure it!

Without double checking, to turn on syntax highlighting:

:syntax on

To set it to HTML:

:set syntax=html

To set it to Python:

:set syntax=python

http://www.vim.org/lang.html for all the available syntaxes (is that the
right plural for syntax? ;))

--
-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
Ryan Hankins 
University Of Minnesota, Duluth
-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^