Course Lessons
Free Trial: 4 lessons remaining
Unlock Full Access
Inserting Text
Estimated time: 10 minutes
Task Instructions
Learn to enter Insert Mode and add text at cursor position
Position your cursor after 'is ' and before the blank, then press 'i' to enter Insert Mode. Type 'Alice' to fill in the blank. Press Escape to return to Normal Mode.
Learning objectives
- Practice entering Insert Mode with 'i'
- Learn to add text at cursor position
- Master switching between Normal and Insert modes
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.
i
Enter Insert Mode
\<Esc\>
Exit Insert Mode
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 |
---|---|
i | Enter Insert Mode at cursor |
Escape | Exit Insert Mode to Normal Mode |
Hints
- Press 'i' to enter Insert Mode, type your text, then press Escape
- Use movement keys to position cursor before pressing 'i'
Ready for Vim?
Before starting this lesson, be prepared.
Read the directions on the left, and when you're ready, let's go!