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

Today, was actually the first time that I used the vim time travel feature. I noticed that I had deleted a line by accident somewhen during the last few minutes. So I typed

  :earlier 5m
and copied the line. Afterward, I typed

  :later 5m
and was back where I started, ready to paste the missing line :-)


On mornings when I'm feeling particularly lazy in the office, I'll do

  :later 8h
and commit the code before heading home. ;)




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

Search: