Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to open a file with an extension name of adb in Finder (to be precise, PathFinder). When I clicked the file, vi editor is activated to open the adb file. I didn't do anything with the adb file, so my guess is that vi editor changed the system setup to open it whenever unknown file format is opened.

How can I change this behavior? I want to open TextMate as a default.

share|improve this question
up vote 3 down vote accepted

Check this answer which points you to RCDefaultApp so you can toy with extensions and default apps.

share|improve this answer

Finder Directions:
Click a file of that type. Press cmd-i. Reveal the Open With: tab of the Get Info window that appears. Select the app you want. Click the Change All button below that menu.

Now, all files of the type you opened will open with the application you selected.

share|improve this answer
I wanted to know how to open TextMate even though I don't have the setup. I guess there should be some system level configuration necessary. – prosseek Jan 14 '11 at 15:09
What do you mean exactly when you say that you don't have the setup? – Nathan Greenstein Jan 14 '11 at 15:13
I elaborate the question. Thanks. – prosseek Jan 14 '11 at 15:14
So, you should be able to use the process I described to restore TextMate as the default. You could also check in vi editor's prefs to see if it's got an option for this. – Nathan Greenstein Jan 14 '11 at 15:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.