selection

v / V / Ctrl-V

v enters character-wise visual mode, V enters line-wise visual mode, and Ctrl-V enters visual BLOCK (column/rectangle) mode. Once selected, operators like d, y, c, or > act on the whole region.

v  V  <C-v>  (normal mode → visual)

Variations

Keystroke Effect
gv Re-select the last visual selection
o While in visual mode, jump to the OTHER end of the selection
<C-v> then I{text}<Esc> Block-insert: prepend {text} to every selected line
V then : Run an ex command scoped to the visual range (shows :'<,'>)

Examples

vw

Character-select from cursor to next word start

Vjjd

Line-select 3 lines and delete them

<C-v>3jI# <Esc>

Block-select 4 lines and prepend '# ' to each (comment lines)

Gotcha

On Windows, Ctrl-V is often the paste shortcut and Vim may capture it — use as the alternative for visual-block mode.

Related

← All Vim commands · Vim cheat sheet