Mission 04 / 52• Basic Vim
Insert Mode
Normal mode is for moving and operating on text. When you actually want to type, you drop into insert mode — and when you're done, you go straight back to normal.
Entering insert mode
- iinsert before the cursor
- ainsert after the cursor (append)
- escreturn to normal mode
In insert mode the keys behave like any other editor: characters type, backspace deletes, and enter splits the line.
Press Enter to start
1const message = "Helo world";Try fixing the typo above: move onto the missing letter's spot with w, press i or a, type the fix, then hit esc to get back to normal mode.
The habit to build: spend as little time in insert mode as possible. Enter, type, escape. Normal mode is home.
Now it's your turn!
0 / 4 tasks complete0.0s / 19s par0 / 25 par
Practice this lesson's commands. Each task checks your technique and the result, not just your cursor position. Take your time.
Task 1: Fix word to world by appending after the cursor with a. Return to normal mode.
Expected result
const message = "world";
Show hint
Press a on r, type l, then Escape.
Press Enter to start
1const message = "word";jkscroll•ggGtop/bottom•Tabnext example•Enterstart•qstop•Ctrl+kCtrl+jprev/next