Choose Register in Vim

Choose a specific register with "{register} before a yank, delete, change, or put. Registers let you keep multiple pieces of text around.

Commands you practise

"{register}
Prepend any yank, delete, or paste command with "{register} to use a specific register. Keep multiple text snippets handy at the same time.

Levels

  1. The Great Exchange (easy): Swap the values of X and Y in the config, cleaning up the original definitions.
  2. Chameleon Config (medium): Map the hex color definitions to their active variables, removing the source lines.
  3. Sanitize Your Inputs (hard): Safely bind the defined variables into the SQL template, cleaning up the variable declarations.

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