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.
4dd
V3kd would do it.
Thats "V" to enter visual line select mode, "3k" to move up 3 lines, and then "d" to delete the 4 lines you have selected.