Line 2 should say “learning vim.” — move the cursor onto the “i” of “im” and press i to insert before the cursor, type v, then press Esc to return to normal mode.
Other editors made me reach for the mouse. I am learning im. Soon my hands will never leave the keyboard.
Canonical solution: j, move onto the i of “im”, i, v, Esc · par: 6 keystrokes (vimgolf rules — every keypress counts).
i drops you into insert mode just before the cursor. Esc (or Ctrl-[) takes you back to normal mode. In and out, fast — vim users spend most of their time in normal mode.
| Keys | What it does |
|---|---|
| i | insert before the cursor |
| a | insert after the cursor |
| I | insert at the start of the line |
| A | insert at the end of the line |
| Esc | back to normal mode — always |
Reading about keystrokes doesn't build keystrokes. Try this in a real vim buffer right now — the “Enter insert mode” mission takes about a minute.
Practice free — no signup →