# Fixing TextMate 2 When It Goes Insane

DevFeed: [Fixing TextMate 2 When It Goes Insane](<https://devfeed.tech/articles/fixing-textmate-2-when-it-goes-insane-28352.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/textmate/2020/01/15/fixing-textmate-2-when-it-goes-insane.html>)

Author: Fuzzygroup

Published: 2020-01-15T00:00:00Z

Content type: tutorial

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [Tool](<https://devfeed.tech/topics/tool.md>), [Process](<https://devfeed.tech/topics/process.md>)

Tags: [cd](<https://devfeed.tech/tags/cd.md>), [data](<https://devfeed.tech/tags/data.md>), [directory](<https://devfeed.tech/tags/directory.md>), [ls](<https://devfeed.tech/tags/ls.md>), [plist](<https://devfeed.tech/tags/plist.md>), [process](<https://devfeed.tech/tags/process.md>), [startup](<https://devfeed.tech/tags/startup.md>), [textmate](<https://devfeed.tech/tags/textmate.md>), [xml](<https://devfeed.tech/tags/xml.md>)

## AI overview

When TextMate will not start, accept typing, or respond to commands, the author suggests its startup data may be corrupted. The proposed fix is to locate TextMate's Session directory, create a subdirectory such as `temp1`, move the directory's contents into it, terminate TextMate, and relaunch. The example path is under `/Users/sjohnson/Library/Application Support/TextMate/Session/`. The listing shows `Info.plist` and untitled text files alongside `temp1` afterward. This is an author-reported workaround; the excerpt does not establish its broader reliability.

## Source excerpt

If you find that TextMate won't start up or if it does that you can't type and it won't respond to commands then this is a sign that TextMate's startup data has gotten hosed. What you need to do is: Locate where TextMate stores its unsaved documents. For me this is ls -l /Users/sjohnson/Library/Application\ Support/TextMate/Session/ Change to this directory using cd. Create a new directory in this location such as temp1. Do a mv of everything into the new directory. Kill off the TextMate process. Relaunch it. Here's what the end result of this should be: ls -l /Users/sjohnson/Library/Application\ Support/TextMate/Session/ total 536 -rw-r--r-- 1 sjohnson staff 90428 Jan 16 04:19 Info.plist drwxr-xr-x 74 sjohnson staff 2368 Dec 10 09:40 temp1 -rw-r--r--@ 1 sjohnson staff 4 Dec 26 10:51 untitled 10.txt -rw-r--r--@ 1 sjohnson staff 6921 Dec 26 11:31 untitled 11.txt -rw-r--r--@ 1 sjohnson staff 79 Dec 26 14:19 untitled 12.txt -rw-r--r--@ 1 sjohnson staff 647 Dec 27 08:07 untitled 13.txt -rw-r--r--@ 1 sjohnson staff 741 Dec 30 12:21 untitled 14.txt -rw-r--r--@ 1 sjohnson staff 226 Dec 30 14:09 untitled 15.txt -rw-r--r--@ 1 sjohnson staff 85 Dec 30 14:08 untitled 16.txt -rw-r--r--@ 1 sjohnson staff 635 Dec 30 21:03 untitled 17.txt -rw-r--r--@ 1 sjohnson staff 776 Jan 7 05:22 untitled 18.txt -rw-r--r--@ 1 sjohnson staff 5125 Jan 7 05:28 untitled 19.txt -rw-r--r--@ 1 sjohnson staff 803 Dec 12 23:30 untitled 2.txt -rw-r--r--@ 1 sjohnson staff 1949 Jan 7 13:05 untitled 20.txt -rw-r--r--@ 1 sjohnson staff 5367 Jan 7 13:20 untitled 21.txt -rw-r--r--@ 1 sjohnson staff 326 Jan 7 15:24 untitled 22.txt -rw-r--r--@ 1 sjohnson staff 16 Jan 8 01:43 untitled 23.txt -rw-r--r--@ 1 sjohnson staff 44 Jan 9 14:22 untitled 24.txt -rw-r--r--@ 1 sjohnson staff 3635 Jan 10 00:28 untitled 25.txt -rw-r--r--@ 1 sjohnson staff 8 Jan 10 15:10 untitled 26.txt -rw-r--r--@ 1 sjohnson staff 7245 Jan 10 17:26 untitled 27.txt -rw-r--r--@ 1 sjohnson staff 277 Jan 11 05:22 untitled 28.txt -rw-r--r--@ 1 sjohn