Vim Recall繁體中文

Select whole lines

V

Example

Normal 0 / 2
one two
three four
five six
Cursor on line 1, column 1

Start a linewise Visual selection.

Before & after
Before
one two
three four
five six
Cursor on line 1, column 1
After
one two
three four
five six
Cursor on line 2, column 1 · Line selection

Start in Normal mode. The highlighted area is observed in Vim. Any displayed register boxes show the exact copied or deleted contents.

Details & Vim help

Example replayed in Vim

Start a linewise Visual selection.

V selects the current line. Move up or down to extend the selection by whole lines, then apply an operator.