when I search for a word there could be many matchings but I just want to replace some of them so use
/keyword
and
n
I can visit each matching
is there any method to visit each matching and then decide whether to replace it or not?
This:
:%s/keyword/replacement/gc
:s/input/output/gci.% at the front. You can also do a visual region with this as well.