Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
digitaltoad
on Sept 9, 2012
|
parent
|
context
|
favorite
| on:
Numbers.vim - A vim plugin for better line numbers
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
on Sept 9, 2012
[–]
d5j
delete five from where you are- inclusive
digitaltoad
on Sept 10, 2012
|
parent
[–]
This still means you would be counting 5 lines whereas I'm just specifying what line to delete to.
dhimes
on Sept 10, 2012
|
root
|
parent
[–]
I am subtracting, but your point is valid.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: