Toggle Syntax Highlighting in vim

Posted by Ktoso under coding (No Respond)

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: , , , , , ,