normal·mode
~ / text-objects / mix-and-matchlesson 6/6

Mix and match: any operator, any object

gU, y, > and Visual mode all take text objects.

3 drills

  1. Shout a string: Uppercase everything inside the quotes, without touching anything else.
  2. Copy arguments into another call: Copy the arguments of the first call over the arguments of the call on the next line.
  3. Indent the inside of a block: Indent everything between the braces by one level.

The drill editor loads in your browser.

outside the editor the page is in normal mode: ? keymaps · / find · : commandsfound this useful? ☕ support it ·credits · source · not affiliated with Vim or Neovim