11

I was stupid and didn't save 2 textmate documents I was working on. Then my computer froze and I had to restart it. Is there any way to get them back? Is there an autosave file somewhere?

Paul Tarjan
  • 860
  • 2
  • 9
  • 19

2 Answers2

23

In TextMate 2.0 you can find recently opened/edited files in ~/Library/Application Support/TextMate/Session/.

Jawa
  • 3,619
  • 13
  • 31
  • 36
Shelby DeNike
  • 346
  • 3
  • 6
  • 1
    This works. I was even able to find an open file that I forgot to save before I left my desk and pull it down via ssh. – krs013 Apr 06 '15 at 16:24
  • 1
    This also saved me! The answer on this thread is incorrect. – uniquelau Jul 21 '15 at 12:00
  • it appears this no longer works with TextMate 3. – 0xF2 May 08 '17 at 04:29
  • 1
    you are a gentleman and a scholar, this helped me recover hours of unsaved work. Thanks a lot! – Cat Mar 14 '18 at 09:09
  • So glad this worked! I had no hope at all. @0xF2 I don't see any TextMate 3 on [their official website](https://macromates.com/). The latest version is 2.0.23. – ADTC Feb 10 '23 at 02:31
  • Not sure what I was looking at... checking now my system has TextMate 1.5.x 8-) – 0xF2 Feb 12 '23 at 17:22
-1

For newer versions of Textmate, you can try quitting Textmate and then re-opening it. Upon execution, all "untitled" files were opened.

Steve
  • 1
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community May 04 '23 at 23:49