<Del> x | Delete [count] characters under and after the cursor |
X | Delete [count] characters before the cursor |
d{motion} | Delete text that {motion} moves over |
dd | Delete [count] lines |
D | Delete the characters under the cursor until the end of the line |
{Visual}x {Visual}d | Delete the highlighted textFor {Visual} see Selecting Text. |
{Visual}CTRL-H {Visual}<BS> | Delete the highlighted text when in Select mode |
{Visual}X {Visual}D | Delete the highlighted lines |
:[range]d[elete] | Delete [range] linesDefault: current line. |
:[range]d[elete] {count} | Delete {count} lines, starting with [range] |