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.
Delete All Lines Press the Esc key to go to normal mode. Type %d and hit Enter to delete all the lines.
In VIM, 3dk would delete 4 lines in the upward direction. Further documentation can be found at http://www.vim.org/docs.php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With