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 Best Practices

Visual Mode: The Art of Selection

Task Instructions

Master efficient visual mode workflows and common patterns

Practice common visual mode patterns and learn when visual mode is the best tool versus using normal mode operations. This lesson focuses on practical patterns used by Vim professionals.

Learning objectives

  • Master efficient visual mode workflows
  • Learn when to use visual mode vs normal mode operations
  • Practice common visual mode patterns
  • Understand visual mode best practices

Required keystrokes

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

  • [vV] Use visual mode
  • gv Re-select last selection

Helpful commands

V
Visual line mode
v
Visual character mode
Ctrl+v
Visual block mode
gv
Re-select last visual selection
>
Indent selected text
o
Switch cursor to other end of selection
Stuck? Peek at a hint 3 hints · try it on your own first
  • Visual mode is great for complex selections, but normal mode operations can be faster for simple edits
  • Use gv to re-select your last visual selection
  • Combine visual mode with operators like d, c, >, <, gU, gu

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-best-practices.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