Undo branches in Vim 7
All about Linux: A visual walk through of a couple of the new features in Vim 7.0.
Version 7.0 of Vim has some sexy new features under the hood, including the ability to jump back in time – you can undo your work to where you were a few minutes earlier, for example. As explained by All about Linux:
In Vim 7.0, a new 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 10mOr for that matter, move to a point 5 seconds ahead by using the command:
:later 5s
Seems like once you got the hang of it, this would be insanely useful.
Also, new to me: Vim, explained in 6kb. Nice.
- Merlin's blog
- 4298 reads
Vim Undo... So apparently you can...
Vim Undo…
So apparently you can “time-travel” in vim. Commands like :earlier 10m and :later 5m will move your document to points 10 minutes ago and from their 5 minutes after.
Is it just me, or is this acceptable?
vim phd_thesis.txt
:later 5y
:…