Run substitution on the current line with confirmation using :s/{old}/{new}/gc. Vim asks before each replacement.
Commands you practise
:s/{old}/{new}/gc
Replace text on the current line with interactive confirmation. Press y to accept a change or n to skip it, giving you total control.
:s/{old}/{new}/g
Replace every match on the current line in one stroke. The no-questions-asked sibling of the confirmed replace.
Levels
Selective Valves (easy): Selectively replace some 'x' elements with 'val' using confirmed substitution on the current line.
Row Moderation (medium): Navigate to the 'edit' lines and selectively substitute 'x' with 'val'. Do not alter the 'skip' lines.
Rhythmic Replication (hard): Mutate the uniform sequence of 'A's into a rhythmically growing pattern of 'T's.
Each level opens a real Neovim session in your browser with a start file and a target file. Edit one into the other in as few keystrokes as you can, then race the vimbot's solution.
Part of VimGolf.ai Premium ($10 once, lifetime). Region: Find & Replace. See the whole skill map.