Delete n lines in the up direction in vim

前端 未结 5 2012
旧时难觅i
旧时难觅i 2021-02-01 12:41

Is there a command in vim which will delete n lines in the up direction.

I know I can use 4dd which will delete 4 lines downwards.

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-01 13:15

    1. stand at the end of the last line
    2. hold Backspace and wait until the last character of the first line is deleted

提交回复
热议问题