Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TextMate frozen attempting to open a large file

Tags:

textmate

I attempted to open a large javascript file with TextMate and it is now frozen. I have tried closing and reopening TextMate but it continues to freeze due to the recently opened file. Is there a way to reset/clear the recently opened files in TextMate?

like image 691
Mike Croteau Avatar asked Sep 08 '15 18:09

Mike Croteau


2 Answers

If you open TextMate from the Finder with a double click and hold shift pressed, you will get this dialog:

Disable session dialog

"Disable" will do exactly what you want, "Restore Documents" will continue to restore them.

like image 179
kwood Avatar answered Nov 19 '22 11:11

kwood


Try setting this parameter:

defaults write com.macromates.textmate OakDisableSessionRestore 1
like image 38
Buddy Avatar answered Nov 19 '22 11:11

Buddy