Course Lessons
Experimental Editing with Undo
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
This lesson requires you to use specific keystrokes to complete it. Your submission will be evaluated based on whether you used the required keystrokes mentioned below, rather than matching a specific output.
What This Means
- Your solution must include the required keystroke patterns
- The order of keystrokes may matter depending on the exercise
- You'll still need to achieve the expected output
- This helps you practice specific Vim techniques
Helpful commands:
| Command | Description |
|---|---|
| u | Undo any experiment |
| dap | Delete a paragraph |
| cip | Change inside paragraph |
| gUap | Uppercase a paragraph |
Hints
- Don't be afraid to try commands! You can always undo. This is how you learn.
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.
Access all premium courses
Unlimited lesson submissions
Track your progress
Ready for Vim?
Before starting this lesson, be prepared.
Read the directions on the left, and when you're ready, let's go!