(Useful) Stupid Vim Tricks?
haroldag writes "I thoroughly enjoyed the recent post about Unix tricks, so I ask Slashdot vim users, what's out there? :Sex, :b#, marks, ctags. Any tricks worth sharing?"
← Back to Stories (view on slashdot.org)
man that's so much easier than the Emacs equivalent....
M-x comment-region RET
(which, of course, like everything else in Emacs is easily bound to a key if you ever find yourself doing it often)
*** rushes off to snarkily reply to every vi suggestion with the easier and more sane Emacs equivalent ;-)
vim ISN'T USEFUL.
It was useful 30 years ago when a screen was a single display of 80 by 25 characters and the mouse didn't exist.
The fact that we're talking about 'stupid vim tricks' that nobody else knows about, in order to complete what should be a simple task, means that the program is ridiculously outdated and a poor solution. Using insane strings of characters to.. do a find/replace.. is.. insane and doesn't save time. Use notepad++ or kate or.. anything instead. everything and your grandmother support regexp. vim isn't useful!
/okay, maybe it's useful.
/when hax0ring files over the intertubes
/but it's still dumb.
/not troll-really!!!