Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I am looking for a way to reassign default editor on OS X. For example I want to reassign all file types opened by TextEditor with TextWrangler.

Probably it has something to do with the defaults command but I do not know how to list current assignments and change them.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

There is a command line utility called Duti which can do this.

http://duti.sourceforge.net/

There is no easy way to do this using built-in commands.

share|improve this answer

You might want to take a look at this question on Super User. It's not really as easy as editing .plist file with defaults.

share|improve this answer

Your Answer

 
discard

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.