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

Honestly, when I was younger, I used to use vim when collaborating with other programmers to impress them, and then use an IDE most of the time when noone was looking. But then something strange happened, I began building up the muscle memory and eventually preferred using vim over an IDE. It seems like every year, if I take the time to learn more about vim, I become twice as effective as the year before. There seem to be an infinite amount of new things to learn, constantly making my life easier. I've been with it 4 years now, and will never go back to an IDE.

The coolest thing I learned this year is the '. command, which will go to your last change. So, you can be editing a program/script, run it, and it has an error. Most of the time you want to go back to the last modification, so just type: '. This even works, at least on my system, after closing and re-opening the file. Related to that, you can type g; and g, to go through next/previous modifications.



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

Search: