How to find and replace text with confirmation prompts?
To be prompted for confirmation before each replacement, add the c flag at the end: :%s/old_text/new_text/gc