News for hackers. Stuff that matters.
Re:A Vim Guide for Advanced Users by RMPR on Saturday February 27, 2021 @10:36AM (#26285477)
Awesome, that's definitely something I'll add to my bag of tricks. But

> This replaces, like, 97% of uses of :s and is a much more convenient way to do search/replace, especially if you use * to search for the word under the cursor. It’s the bee’s knees!

I'm not really sure about that. I can definitely see it replacing :s for a small number of repetitions, but for a large number. I think using :s with a range is quicker.

Edit: typos, punctuation

Re:A Vim Guide for Advanced Users by thesteamboat on Saturday February 27, 2021 @10:51AM (#26285579)
I too wish to add this to my repertoire. I don't think it will replace :s, but occasionally I find myself copying a line to use as a template. When I go to change each line I'm changing a particular part to different things. Assuming I remember, this trick seems like a good approach.