- I couldn't make famous subl-handler work, so I wrote my own.
- I don't know/care if this works for everything, but then all I care was to make better_errors work; so there it goes!
- Download the latest version
- Extract the downloaded archive file
Sublime Text 2 Launcher.appwherever you think is best (e.g.,
Sublime Text 2 Launcher.apponce (it will quickly quit itself, this is the expected behaviour)
You should now be good to go.
If you're having trouble getting this work, try:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
and then open
Sublime Text 2 Launcher.app once (it will quickly quit itself, this is the expected behaviour).
Then check with the following command that you have only one binding for
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep -B6 bindings:.*subl: