Toggle Case in Vim

Toggle the case of the character under the cursor with ~. In Visual mode it toggles the selected text.

Commands you practise

~
~ toggles the case of the character under the cursor. It is the fastest way to fix capitalization typos without entering Insert mode.

Levels

  1. Snake Case Shakeup (easy): Quickly fix the three casing errors in this Python function.
  2. Yelling in YAML (medium): Invert the capitalization of all quoted values.
  3. Block Party Swap (hard): Use visual blocks to flip the casing of both status columns.

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: Case Operations. See the whole skill map.