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

:update is like :w but only writes when changes are made.

While we're at it :earlier and :later are undo/redo but instead of using an undo stack they use change points in time, so your undo history is never overwritten :)



:earlier 30s is such a life saver when you've messed up the standard undo/redo order (u and ctrl+r).

I need it so rarely that I have a hard time remembering what the command was again whenever I need it. Needed it a few weeks ago, so now it's at the front of my mind again :D




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

Search: