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 Operation Combinations

Visual Mode: The Art of Selection

Task Instructions

Combine different visual modes and operations to tackle complex formatting challenges

Practice combining different visual modes (v, V, Ctrl+v) with various operations (d, c, y, >, <) to solve complex formatting challenges efficiently.

Learning objectives

  • Combine different visual modes and operations
  • Tackle complex formatting challenges
  • Master applying operations to visual selections
  • Learn to choose the right visual mode for each task

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 line mode
  • < Shift lines left

Helpful commands

V
Visual line mode
<
Shift left (decrease indentation)
>
Shift right (increase indentation)
gv
Re-select last visual selection
=
Auto-indent selected lines
Stuck? Peek at a hint 3 hints · try it on your own first
  • Use V to select lines, then < to shift left
  • You can press < multiple times or use a count like 2<
  • Combine different visual modes for different types of selections

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-operation-combinations.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