Screen Too Small

This course material requires a larger screen to properly display the terminal and editor interfaces.

Please use a tablet, laptop, or desktop computer for the best learning experience.

You can continue browsing, but the experience will be significantly limited.

Free Trial: 5 lessons remaining
Unlock Full Access
Practice Beginner 10 min

Experimental Editing with Undo

Undo, Redo, and Vim's Time Machine

Task Instructions

Use undo as a safety net while trying new commands

Try different commands like 'dap', 'cip', 'gUap' on the function, observe what they do, then undo each one. This builds confidence that you can safely experiment.

Learning objectives

  • Build confidence to experiment with new commands
  • Understand undo as a learning tool
  • Practice the try-observe-undo learning cycle

Required keystrokes

Your submission is checked for these keystrokes, not just the final text — so reach for the technique, not a workaround.

  • u Undo experiments
  • d Try delete commands
  • c Try change commands

Helpful commands

u
Undo any experiment
dap
Delete a paragraph
cip
Change inside paragraph
gUap
Uppercase a paragraph
Stuck? Peek at a hint 1 hint · try it on your own first
  • Don't be afraid to try commands! You can always undo. This is how you learn.
vim@sandbox: ~/workspace
Save your file with :w ⏎ to unlock Submit