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.



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

Search: