Re:Vim anti-patterns
by alinajaf on Wednesday February 08, 2012 @05:14AM
(#3565976)
Nice! I think I might add that to my .vimrc. The only thing I'd add about macros is that I generally use them for multi-line transformations (i.e. they usually end with `j`). This means you can record your macro and the run `n@q` where n=the number of lines you want to run it for and q=the register where your macro lives. This is useful for annoying, repetitive syntax transformation tasks.
[ Parent
| on HN ]