Reputation: 5704
We can type :6d
in vim to immediately go to and delete line 6.
Is there a way to extend these commands to do normal operations? As an example, I’d like to do :6V
to go to line 6 and select it, or do maybe something more complex, like :6V12dd
which would select and delete lines from 6 to 12.
Upvotes: 0
Views: 273