normal·mode
~ / ex / repeat-ex-commandslesson 6/7

Repeat the last Ex command: @: and @@

Run the previous command line again, here or anywhere else.

2 drills

  1. Again, with a count: Make the copies in the target: run :t. once, then repeat it with a count, like 3@:.
  2. Move, @:, move, @@: Only some lines change. Run the :s command on the first of them, then move to each of the others and repeat it with @:, and after that with @@.

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