PracticalVim Tip89 - yszheda/wiki GitHub Wiki

Tip 89: Eyeball Each Substitution

Return to the top: <>

The `c` flag causes Vim to show us each match and ask "Replace with copy?"

| Trigger | Effect | | `y` | Substitute this match | | `n` | Skip this match | | `q` | Quit substituting | | `l` | "last"——Substitute this match, then quit | | `a` | "all"——Substitute this and any remaining matches | | `` | Scroll the screen up | | `` | Scroll the screen down |

References:

⚠️ **GitHub.com Fallback** ⚠️