Sublime Forum

Is there a possibility to revert changes made to a file?

#1

Sublime Text 2 here.

Through some horrible circumstances one of my files has been changed without me knowing, possibly by repeatedly having pressed Ctrl+Y or something like that. Is there are any internal buffer in Sublime Text flushed to disk where I can have the changes reversed?

Sublime Text was restarted so I can’t undo/redo anything.

0 Likes

#2

No, not if the file’s been saved to disk (with session restore, the file in Sublime may not be the same as the file on disk).

But you can help yourself in the future: github.com/vishr/local-history

0 Likes