Hacker News new | ask | show | jobs
by yetanotherjosh 4722 days ago
This is kinda life-changing. You have now made the use of numeric count prefixes to line-wise operations actually useful. 20dd for example. Delete groups of lines quickly and with precision, without guessing how many lines are involved.
1 comments

I didn't even realize relative numbering was a built in feature of vim - learned by reading the plugin source. Vim is the gift that keeps on giving.
I went to relative numbering a while ago and I can't go back. It's awesome.

The only problem is that it's new in vim 7.3, so there are times where I'm forced to use an older version of vim and can't use the feature. I'll look up 10 lines, see "583" and automatically hit 583k without thinking. Not a big deal, and of course I can just do 583G to fix my mistake, but it's definitely some combination of funny and irritating.

This feature is exposing that my neural pathways for typing numerals above 4 are weak. Jumping 13 lines is so much easier than jumping 7... I have to actually look at the keyboard to type 7k! This will require some training.