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

I'm definitely not a vim master but I've made an active choice to avoid 4j style movement. The main benefit of vim, for me, is the mind-body connection. Commands are either muscle memory or like saying a short phrase in my head so it flows out naturally. Counting lines before executing breaks that natural flow


For more than a few lines I'll go to a spot and mark it (ma), navigate to the next spot and delete to the mark (d'a).

That's how I thought of it anyway, not delete n lines. Delete from here to here.


What if you use relative line numbers though?


That could help and I have experimented with relative line numbers but have decided against it. I want to see absolute line numbers for matching up error messages and I find it's easier to communicate in absolute line numbers when doing code reviews or pair programming




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

Search: