Choose where typing begins
The technique
A goes to the end of the line first, wherever the cursor is. No need to move there yourself.
Keys in this lesson
- i
- Insert before the cursor.
- a
- Insert after the cursor.
- I
- Insert at the start of the line's text.
- A
- Insert at the end of the line.
- o
- New line below.
- O
- New line above.
Before this lesson: Reach a line or buffer boundary.
More about this lesson
Choose insertion before/after a character, at a line boundary, or on a new line.
i inserts before the cursor; a after it. I starts at the first nonblank character; A at the end. o opens below; O opens above, even above the first line. Esc completes every insertion. New code lines may inherit indentation; inspect it rather than adding spaces blindly.
Example
From anywhere on “review”, A then “ today” then Esc makes “review today”. O then “Plan” then Esc adds a separate line above. I would add text to the existing line instead.
Use Reset to try again.