[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: syntax highlighting
On Fri, 15 Sep 2000, Neil wrote:
>> the editor would be able to colorize source code writen in any
> as if u wanna do it for the console!!!! boy im with you!
Vim supports syntax highlighting in the both the console and X versions
(gvim) . Your version of vim needs to be compiled with +syntax.
On redhat systems, you need the vim-enhanced rpm. Stick the line `syntax
on' in your ~/.vimrc file and run `vim' instead of `vi'.
Also check out http://www.vim.org/lang.html. They probably got syntax
highlighting for everything under the sun.