I'm wanting to apply a command to the currect paragraph but I'd like to automate it so I don't need to visually select/mark the paragraph before-hand.
I want something like
:{,}s/this isn't/important/g
to specify the range to apply 's' (in this case) to.
Eventually I'm wanting to using range-accepting-commands to reformat a paragraph.
Does anyone know how to do this? Is there a better approach that I'm missing?
:'{,'}s/this isn't/important/g
See:
:h '{
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