Warm tip: This article is reproduced from serverfault.com, please click

Set TextMate as the default text editor on Mac OS X

发布于 2012-02-21 00:42:55

How can I set TextMate as default text editor on Mac OS X?

I've tried it with

ln -s /Applications/TextMate.app/Contents/Resources/mate ~/bin/mate
export EDITOR='mate -w'

but that doesn't work.

Questioner
Ben
Viewed
0
Timeout 2012-02-21 08:46:03

Just right (or control) click a file of the type you want to change and:

"Get Info" -> "Open with:" -> (Select TextMate) -> "Change All"