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.

Free Trial: 5 lessons remaining
Unlock Full Access
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
vim@sandbox: ~/workspace
Save your file with :w ⏎ to unlock Submit