Re:A Vim Guide for Advanced Users
by sanderjd on Saturday February 27, 2021 @05:37PM
(#26288811)
That does sound useful, but I do this with `:s/foo/bar/gc`, then I press `y` each time, which is pretty similar to pressing `.` each time in your example. I do like that the `cgn` approach works better for something you searched for without knowing a priori that you were going to do a replacement on it.
[ Parent
| on HN ]
There are no comments on this comment yet.