This repository has been archived by the owner. It is now read-only.
Maps subl:// URL schemes on OSX to SublimeText 2
Switch branches/tags
Clone or download
Pull request Compare This branch is 6 commits ahead of jdguzman:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Classes
English.lproj
SublHandler/Images.xcassets/AppIcon.appiconset
subl-handler.xcodeproj
.gitignore
AppIcon.png
Info.plist
README.md
main.m
version.plist

README.md

SublimeText 2/3 URLHandler on OS X

This application enables SublimeText 2/3 to open subl: urls, as Textmate has as described here

subl://open/?url=file:///etc/passwd&line=10&column=2

Installation

Download latest release.

Unzip it, then launch it. Select SublHandler -> Preferences..., then set the path for the subl binary.

Because it's an unsigned binary, you'll need to right-click the app and select "Open"...You only need to run it once for the URL handler to register.

Test it

Open terminal and type: open 'subl://open/?url=file:///etc/hosts'

Uninstalling

Delete following:

/Applications/SublHandler.app
~/Library/Preferences/com.sardaukar.sublhandler.plist

Author

  • Daisuke Murase :@typester (github, twitter, CPAN, etc..)
  • Scott Wadden (SublimeText 2 port)
  • Andrew Sutherland (Mountain Lion fixes)
  • JD Guzman (SublimeText 3 port)
  • Nick Charlton (deprecation and bug fixes)
  • Bruno Antunes (packaging and release)
  • Omar Rodríguez-Rodríguez (icon) (https://www.flickr.com/photos/omarrr/8251028685/)

License

BSD.