This is strangely difficult to figure out. I do not want to delete what is to the left of the cursor, only from the cursor to the end of the line, and the following 3 lines in ONE command. I know I could do d$ and 3dd
Vim, how to delete from CURRENT cursor position, until end of line and next N lines
vivim
Best Answer
Actually,
3dd
deletes what is to the left of the cursor.You want
4D
.