Re:Seven habits of effective text editing
by minikomi on Saturday October 06, 2012 @09:40AM
(#4620487)
Also, it's extremely satisfying to record a complex macro and then 100@@ it across a wide swath of your file
Re:Seven habits of effective text editing
by mcantor on Saturday October 06, 2012 @04:19PM
(#4621572)
Recording macros correctly and quickly is an art. Text objects help immensely, since they can handle a lot of edge cases in different places across your code.
Re:Seven habits of effective text editing
by dasil003 on Sunday October 07, 2012 @05:01AM
(#4622929)
One of my favorite tricks was binding @q to <space>. It really speeds up playback so I don't need to necessarily count occurrences or go recursive.
Re:Seven habits of effective text editing
by mistercow on Saturday October 06, 2012 @11:46AM
(#4620789)
> It's about the lag between the moment you think about what you want to write and the moment when it's written.
I think this is it exactly. In particular, when people start trying to incorporate typing speed into their arguments, it's a sign that they really don't understand where the bottlenecks are.
I think they miss the point. Speed editing with vim is not about how many lines you may produce in the day.
It's about the lag between the moment you think about what you want to write and the moment when it's written. Your editor should not be in the way, and that's what vim, when mastered, is all about : you simply don't think about it anymore.
It's for the same reason that vim tries to reduce hand movements, so you won't feel your editor in those extra displacements.