Anyone familiar with Sublime Text\'s multiple cursor feature will recognize the pattern of doing the following: press a hotkey multiple times to select multiple instances of the
While waiting for other answers, I'm going to post what I'm experimenting with while waiting for vim experts to answer:
:.,$s//foobar/gc
to substitute (the s
) from the current line (the .
) to the last line ($
) (with the comma denoting the line range), using the
combo to copy the current word into the command, then using gc
to change with confirmation, so I can hit yes/no for each instance then quit when I've done enough.