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

I've been using vim for 5 years and a student showed me you can do it with commands too.

:10 :25 :1

I tend to use that a lot now and I don't know why. However, you can do some pretty cool command with ranges of lines.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: