Lesson 9 · Making changes

Undo, redo & repeat

Time travel

u undoes the last change. Ctrl-r redoes it. Everything you type between i and Esc counts as one change.

The dot command

. repeats your last change. Delete a line, move, press ., and it happens again.

Challenge 1 of 40/3

Oops

Delete the first line with dd, then bring it back with u.

1Important: never lose this line
2This one is fine
Normal1:1
Target
Important: never lose this line
This one is fine
Your keystrokes show up here

Lost? Esc always gets you back to Normal mode. Every key from every lesson is in the sidebar.