Turn on VIM Syntax Highlighting
July 26, 2007 at 6:55 am Leave a comment
I have noticed that a few people have come to my blog hoping to find out why their VIM doesn’t have syntax highlighting at all. Well, if the syntax highlighting is disabled, you just go in the command mode and do:
:syntax on
Of course, you wouldn’t want to do that every time you edit a file. To make it default, just create/edit the file ~/.vimrc and put “syntax on ” on a line of itself.
Entry filed under: Linux. Tags: .
Trackback this post | Subscribe to the comments via RSS Feed