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.

Practice Beginner 10 min

The Magic Dot: Repeat Command

Undo, Redo, and Vim's Time Machine

Task Instructions

Learn the powerful dot (.) command to repeat your last change

Fix the first typo manually using 'x' to delete the extra letter, then navigate to similar typos and use '.' to repeat the deletion. This teaches the powerful pattern of 'do once, repeat many'.

Learning objectives

  • Master the dot (.) command to repeat changes
  • Understand how to efficiently fix repetitive patterns
  • Build muscle memory for the repeat workflow

Required keystrokes

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

  • \. Use the repeat command (.)
  • x Delete a character

Helpful commands

.
Repeat last change
x
Delete character
n
Go to next search match
Stuck? Peek at a hint 1 hint · try it on your own first
  • The dot command (.) repeats whatever change you just made. Fix one typo, then use '.' on similar typos.

Premium Course

This is a premium course available exclusively to paid members.

Upgrade your membership to access this course and all premium content on the platform.

Upgrade to Premium

Access all premium courses

Unlimited lesson submissions

Track your progress

the-magic-dot-repeat-command.txt

1" Read the task on the left.

2" A live Vim editor opens right here.

3" Finish the edits, then submit.

~

~

NORMAL 1,1   All

Ready to practice?

Take your time with the task — start whenever you're set.

Start Lesson