Completely uninstall/restore Textmate 2

自作多情 提交于 2019-12-10 04:34:01

问题


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. :)


回答1:


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.




回答2:


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}



回答3:


The custom settings for Textmate 2 are in /Library/Application Support/Avian/




回答4:


The following will work under MacOS 10.8 with TextMate Version 1.5.11 (1635):

cd ~/Library/Preferences
rm -rf com.macromates.textmate.*


来源:https://stackoverflow.com/questions/16429165/completely-uninstall-restore-textmate-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!