Skip to content
Vim Learn
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. The challenge proves it once; Practice is a timed run against the clock.

Keys in this lesson

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

Practice against the clock.

The challenge proves completion once. Practice is a timed run of 15 goals — beat par, then beat your own best time. Every completed goal saves locally.

iasyncSpaceEsc

Insert “async ” before the function call.