Vim · Editing

Delete line

Press D twice in sequence to delete the current line into the register.

D+D
Mac
D + D
Windows
D + D
Linux
D + D

More editing shortcuts in Vim

See all 30 Vim shortcuts →