*redo, sorry
You are viewing a single thread.
View all comments 18 points
“What did that code look like two minutes ago?”
- Cmd+A
- Cmd+C
- Cmd+ZZZZZZZZZZZZZZZZZZZZZZ
“Oh, ok.”
- Cmd+Shift+ZZZZZZZZZZZZZZZZZZZZZZ
3 points
2 points
*
lol, just use time travel, Vim time travel:
:earlier 2m
and back:
:later 2m
1 point
1 point
*
Yes, plain vanilla Vim
Here’s help entry (see section 4 if link doesn’t redirect to it).
And it is even more useful with an undo-tree plugin.