Replace Character in Vim

Replace the character under the cursor with r{char} without entering Insert mode. It is perfect for small corrections.

Commands you practise

r{char}
Replace the character under the cursor with a new one instantly. It is the fastest way to fix a single-character typo without leaving Normal mode.

Levels

  1. URL Sanitizer (easy): Fix the two single-character typos in the URL string.
  2. Todo Triumph (medium): Mark all the tasks as complete by replacing the spaces inside the brackets with 'x'.
  3. Math Mixer (hard): Fix the swapped mathematical operators in this object to make the functions correct.

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: replace mode. See the whole skill map.