Skip to content
Vim
Learn/

Insert at Line Ends

05 / 51

Basic Vim

Insert at Line Ends

Start inserting at the first non-blank character or line end.

I and A combine a line-boundary motion with entering Insert mode. They replace a multi-key journey with one intent-revealing command.

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 at the first non-blank character of the line
A
Append at the end of the line
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.

IvarSpaceEsc

Insert “var ” at the first non-blank character with I.