Sublime Forum

Is it possible to recover text after undo then paste?

#1

So I’ve done the unthinkable: I’ve un"done" a bunch of edits using Cmd-Z, then pasted something, instead of just Re-doing all the edits.

Any way to recover my edits? (Perhaps via the console?)

I also submitted this question to SuperUser: superuser.com/questions/470019/s … -by-typing

Thanks

0 Likes

#2

No, I’m pretty certain they’re gone.
If you check on userecho, you’ll see people requesting branching undo. I recommend upvoting.

Sorry about that. :frowning:

0 Likes

#3

Yeah, I figured that was likely the answer. Thanks anyway, adzenith.

In an attempt to hopefully prevent myself from executing future stupid operations like this (without hope of recovery, that is), I’ve installed the following plug-in:

vishalrana.com/local-history/

Won’t stop me from making the occasional dumb undo-redo mistake, but at least if I get in the habit of Ctrl/Cmd-S saving a lot, it may allow recovery. Though now that I think about it: my user.settings has ‘save_on_focus_lost’ set to true, so I may just get history without needing to Ctrl/Cmd-S–I’ll have to experiment with local history to see if it saves history on focus lost too.

PS Update: I upvoted the following on UserVoice too:

sublimetext.userecho.com/topic/92833-undo-trees/

sublimetext.userecho.com/topic/2 … o-history/

sublimetext.userecho.com/topic/1 … all-files/

sublimetext.userecho.com/topic/9 … selection/

0 Likes