Delete n lines in the up direction in vim

前端 未结 5 2022
旧时难觅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:23

    In VIM, 3dk would delete 4 lines in the upward direction. Further documentation can be found at http://www.vim.org/docs.php

提交回复
热议问题