Toggle Syntax Highlighting in vim

Posted by Ktoso on 24/08/2009 – 17:42

Just a quick vim tip today… Have you been coding/fixing stuff on the server over ssh using vim? I sure have, but was always wondering why the vim on my server wouldn’t highlight php… The solution is:

:syntax on

Whoa, 2 words, not 2 letters like usually! Thats pretty long for vim ain’t it? ;-)

Tags: , , , , , ,
This post is under “coding” and has no respond so far.
If you enjoy this article, make sure you subscribe to my RSS Feed.

Post a reply