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

Visual Mode with Different Operators

Visual Mode: The Art of Selection

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

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

  • v Use visual character mode
  • V Use visual line mode
  • gu Make selection lowercase
  • > Indent selection

Helpful commands

v{motion}{operator}
Apply operator to selection
gu
Make lowercase
gU
Make uppercase
>
Indent right
<
Indent left
Stuck? Peek at a hint 1 hint · try it on your own first
  • 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.

Upgrade to Premium

Access all premium courses

Unlimited lesson submissions

Track your progress

visual-mode-with-different-operators.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