normal·mode
~ / ex / normal-on-a-rangelesson 3/7

Normal mode on many lines: :normal

Type the same Normal-mode keys on every line of a range.

3 drills

  1. Every line at once: Make the same change on every line with one :%normal command (:%norm for short).
  2. Only the selected lines: Change only the paragraph the cursor is in: select it with vip, press : (the '<,'> range appears) and finish with normal and the keys.
  3. Motions and operators too: Any Normal-mode command works, not just inserts. Apply the change to every line with :%norm and an operator plus a motion or text object.

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