Skip to content
Vim
Learn/

Visual Line Operators

51 / 51

Visual Mode

Visual Line Operators

Delete, change, or yank complete selected lines.

Linewise visual ranges interact with the same operators and unnamed register as command-composed edits.

Use V, d, c, y, and p in the editor beside this lesson. Practice is where you learn it, with the answer a click away; the Test is graded, unaided, and the only thing that marks this lesson complete.

Keys in this lesson

V
Enter Visual Line mode to select whole lines
d
Delete the selected lines
c
Change the selected lines
y
Yank the selected lines
p
Replace the selected lines with what was yanked
All 91 keys →

Practice to learn it. Test to prove it.

Practice keeps the answer a click away — endlessly in Free, or as a 15-goal run against par and your own best time in Timed. The Test gives you 10 goals with no hints and a keystroke budget on each; passing it is what marks this lesson complete.

Vjd

Select two complete lines and delete them.