Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I believe the general theory is relative line numbering helps you when in normal mode. If you want to manipulate a chunk of lines, sometimes you revert to counting them then doing something like <n>yy. With relative line numbering the counting is effectively done for you.

But to me, I try to avoid counting arbitrary lines and instead try and do something like y/<unique marker> or ya{ or whatever.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: