3 ms·
> When I use vim macros I find I either have to redo my macro multiple times if I screw up, or spend a bunch of time thinking about how to correctly generalize
by cyphar 9y ago
> When I use vim macros I find I either have to redo my macro multiple times if I screw up, or spend a bunch of time thinking about how to correctly generalize my commands while writing the macro.
In Vim you can put the contents of a macro into a buffer, modify it like a file, then replace the macro with the modified one.