Vim Hacking – 1 – vis

Posted by Ktoso under coding, terminal heroes (No Respond)

Vim is a really amazing text editor (though I’d like to learn Emacs too soon… :-)) and it can be easily expanded to be even more useful. One super cool extension I found is: vis — it allows powerful sed-like line modification (you could use sed from inside vim, but that’s not really “handy”). Vis [...]

Tags: , , , , , , ,

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