i a I AEscNORMALkeys = commandsINSERTkeys = textNORMALkeys = commandsu undoes the last change — from NORMAL.
The rhythm of every edit: leave NORMAL on purpose, type, and press Esc to come straight back. Vim spends most of its life in NORMAL.
Vim Insert, escape, and undo
beginner » Insert h before the cursor to fix the word.
goal
hello
scratch.txt
1 ello
-- NORMAL -- 1,1
keys
your keystrokes appear here as you press them
NORMAL ~/learn/vim-motions · 1/5 · i real vim keys trail · always esc in-editor

Best on a keyboard

“Insert, escape, and undo” is a hands-on typing drill — it needs a physical keyboard. Open it on a laptop or desktop to play. You can still browse and read everything here on your phone.

Back to course →
NORMAL ~/memra/learn/vim-motions/insert-escape-undo utf-8 LF