The following is what I have in mind:
% g/All Claims\t 0/3d
This doesn't work, though (it seems to be invalid syntax to multiply an action in this mode). I did end up with the following sequence:
qq
/All Claims\t 0
3dd
q
10000@q
That macro combination worked out just fine. I'm simply curious if there's something that would have been an appropriate and would have fit in the context of the first example. To further expand, I'm seeking something that replaces the 3d from the first line with a command that will do the same, or will appropriately reference a macro.
The :g
command expects an ex command, so you have to use :normal
like this
:%g/All Claims\t 0/norm 3dd
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With