On Mon, Aug 27, 2001 at 11:58:45PM +1000, [EMAIL PROTECTED] wrote: | Hi all you vim fans. | | Is it possible to colour code text in vim? What I would like to do is | make vim colour my .c files while I edit them. For example, it would be | good to see all the comments coded a different colour.
Yes! | How do you do this? Put syn on in your .vimrc file. Also check out the autocommand stuff. You can change the textwidth, wrapping options, apparent tab size and other stuff when you load a C file. These can be settings that you like for C coding, but not for other things. I use vim as my editor for mutt. I have certain settings that are loaded automatically whenever I am writing a mail. It is really cool stuff! -D