Delete with Motion in Vim

Delete text covered by a motion using d{motion}. Combine d with movements you already know to cut exactly what you need.

Commands you practise

d{motion}
Delete text from the cursor to the end of a motion. Combine d with movement keys like w, e, or b to surgically slice away exactly what you want.

Levels

  1. Stuttering Fox (easy): Remove the duplicate word 'fox' with a single motion.
  2. Trim the Config (medium): Delete the deprecated configuration block in one quick stroke.
  3. Arg-uments Be Gone (hard): Prune the redundant function arguments using precise forward and backward deletions.

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 the free basics zone. Region: line delete. See the whole skill map.