Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Completely uninstall/restore Textmate 2

I accidentaly misconfigured the bundles settings of Textmate 2. Now I want to restore the default setting. I tried to remove the following directories:

rm -r /Library/Application\ Support/Textmate
rm /Library/Preferences/com.macromedia.*

I also use cleanmymac 2 to properly uninstall it. But STILL everytime I reinstall textmate I always go back with my previous settings. Where the hell is it saving them? WHERE ARE THEY? Please help I'm desperate.

I probably will have to change text editor and it's pretty much like changing religion. :)

like image 353
blueSurfer Avatar asked May 07 '13 21:05

blueSurfer


2 Answers

Resurrecting this because I had the same problem, and it took me quite a while to figure out why my corrupted bundles kept reappearing. You need to delete the following directories/files:

~/Library/Application Support/Textmate
~/Library/Application Support/Avian
~/Library/Preferences/com.macromates.*
~/Library/Caches/com.macromates.TextMate

I was really surprised that Textmate caches some bundles, but this solved my problem. Hopefully it can help someone else in the future.

like image 141
kmacinnis Avatar answered Oct 03 '22 00:10

kmacinnis


Extending @kmacinnis answer: the best way to clean TextMate settings is to find everything matching in ~/Library and remove it totally:

find ~/Library -iregex ".*textmate.*"

and then

rm -rf {path}
like image 25
bitec Avatar answered Oct 02 '22 22:10

bitec