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

I know this is a minor point but using 'gg' to move to the first line is easier than '1G'.


The author started in vi, which has no gig as far as I can tell.


And I use :0, which is consistent with :N to get to the Nth line, which I also use. (I know, :1 same, just my habit.) And I could use :% to get to the last line, for more consistency, but G is my habit there.

Many ways to edit a cat.




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: