If I do a replace like this:


afterward I keep hitting y or n as needed. But sometimes it hit n on accident and need to go back. I read that you can use N for this purpose, but it seems what you actually have to do is:


Is that the case, or is a better option available?

1 Answer 1


Another approach is something like this:

/MAY Enter cgn JUNE Esc

Then use n to go forward, or N to go back, and . to replace.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.