Skip to content
Vim
Learn/

Insert Mode

04 / 51

Basic Vim

Insert Mode

Insert before or after the cursor, then return to Normal mode.

Use i when the insertion belongs before the current character and a when it belongs after. Escape completes the edit and places the cursor on the last inserted character.

Use i, a, and Esc in the editor beside this lesson. Practice is where you learn it, with the answer a click away; the Test is graded, unaided, and the only thing that marks this lesson complete.

Keys in this lesson

i
Insert before the cursor
a
Insert after the cursor
Esc
Return to Normal mode
All 91 keys →

Practice to learn it. Test to prove it.

Practice keeps the answer a click away — endlessly in Free, or as a 15-goal run against par and your own best time in Timed. The Test gives you 8 goals with no hints and a keystroke budget on each; passing it is what marks this lesson complete.

iawaitSpaceEsc

Insert “await ” before the call on this line.