5 ms·
You shouldn't ever have to count lines in vim. The five line deletion example could have been done as: 10dG Which would delete from the cursor to the tenth
by digitaltoad 14y ago
You shouldn't ever have to count lines in vim. The five line deletion example could have been done as:
10dG
Which would delete from the cursor to the tenth line.
- dhimes 14y agod5j delete five from where you are- inclusive
- digitaltoad 14y agoThis still means you would be counting 5 lines whereas I'm just specifying what line to delete to.
- dhimes 14y agoI am subtracting, but your point is valid.