Thursday, September 21, 2006

Go back in time with Vim 7.0

In Vim 7.0, a feature has been included which allows a user to jump back or forward to any point of editing.

For example, I am editing a document and after a couple of minutes (say 10 min), I realise that I have made a mistake. I can easily take the document to a point 10 minutes back by using the command-
:earlier 10m

Or for that matter, move to a point 5 seconds ahead by using the command:
:later 5s

No comments: