2 ms·
Thanks for the comparison. I took a few tips on Vim macros yesterday and shortened mine: qqdf"t(D+@qq@q qq opens a macro in register q df" deletes
by dpritchett 16y ago
Thanks for the comparison. I took a few tips on Vim macros yesterday and shortened mine:
qqdf"t(D+@qq@q
qq opens a macro in register q
df" deletes through the first "
t( jumps to the character before the next (
D deletes to end of line
+ jumps to the beginning of the next line
@q recursively calls macro q
q@q stops recording macro q, calls it once