I am switching to a new Mac and want to bring my TextMate 2 settings with me from my old Mac. I don't see an obvious way to do this, and searching hasn't brought anything up. Do I really need to re-set everything up again from scratch?
Or is there a way to export/copy TextMate 2 preferences/settings from one computer to another? Thanks!
Best Answer
I've managed to get pretty far on my own, so I'm posting an answer. If someone else has a better way, I'll be glad to accept their answer. I ran into some gotchas along the way, so I wanted to share those as well. Here are the steps I took.
Make sure TextMate is not running on your new Mac.
On your old Mac, tar up the TextMate and Avian folders under ~/Library/Application Support:
(You may or may not have the Avian directory. If not, skip instructions related to that.)
com.apple.quarantine
as follows:The
-r
and-d
options toxattr
say to handle all files in those directories (recursive) and delete the attribute specified. If you get a bunch of permission errors, placesudo
in front of the xattr commands.The above appears to have restored the majority of the TextMate "behaviors" from my old Mac to my new Mac. I still had to open up the TextMate -> Preferences menu and do a side-by-side comparison, checking and unchecking boxes for various settings that did not transfer over with the above steps.
Update:
If you have a .tm_properties file, e.g.,
~/.tm_properties
, you'll also want to copy that over to your new Mac.