Set TextMate as the default text editor on Mac OS X
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: 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. 回答1: Just right (or control) click a file of the type you want to change and: "Get Info" -> "Open with:" -> (Select TextMate) -> "Change All" 回答2: The method through Finder is not practical. If you're a developer, your files likely include .profile, .gitconfig, .bashrc, .bash_profile, .htdocs, etc. The best way to do this is