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

Absolute line numbers are more convenient for me. Relative line numbers didn't give me any advantage after I learned about the G command. That command is also useful for going to the bottom of the file (G) or to the top of the file (1G). With absolute line numbers I don't have the line numbers changing all the time, which was distracting. It's also easier to open files at a specific line.


gg will take you to the top of the file too


Thanks, learned something new.




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

Search: