Vim,如何从当前光标位置删除,直到行尾和下 N 行?

Gre*_*hal 5 vim vi

这奇怪地难以弄清楚。我不想删除光标左边的内容,只想从光标到行尾,以及 ONE 命令中的以下 3 行。我知道我可以d$ and 3dd

thi*_*wfx 10

实际上,3dd删除光标左侧的内容。

你要4D

  • 或者,由于`D`本质上是`d$`,`4d$`,OP [到达](http://unix.stackexchange.com/questions/177603/vim-how-to-delete-from -current-cursor-position-until-end-of-line-and-next-n-li/177604?noredirect=1#comment293965_177604)。 (2认同)