Am 27. Aug, 2001 schwäzte [EMAIL PROTECTED] so: > 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. > > How do you do this?
Install the vim-rt package, then enable syntax highlighting in the config file, /etc/vimrc. To enable the syntax highlighting, remove the double-quotes at the beginnings of the if statement and "syntax on" lines. If your box now defaults to white foreground on black background you also want to add "set background=dark" as the line before the "syntax on" line. ciao, der.hans -- # [EMAIL PROTECTED] home.pages.de/~lufthans/ www.DevelopOnline.com # kill telnet, long live ssh - der.hans