Course Lessons
Visual Mode with Different Operators
Task Instructions
Learn to combine visual selections with various operators like d, y, c, >
Practice combining visual selections with different operators like gu (lowercase), gU (uppercase), > (indent), and others to transform selected text efficiently.
Learning objectives
- Learn to combine visual selections with various operators
- Master using d, y, c, >, gu, gU with visual mode
- Understand how operators work with different visual modes
- Practice efficient text transformation workflows
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 |
|---|---|
| v{motion}{operator} | Apply operator to selection |
| gu | Make lowercase |
| gU | Make uppercase |
| > | Indent right |
| < | Indent left |
Hints
- After selecting text with v/V/Ctrl-v, you can apply operators: d (delete), y (yank), c (change), gu (lowercase), gU (uppercase), > (indent)
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!