Skip to content

Instantly share code, notes, and snippets.

View gregakespret's full-sized avatar

Grega Kespret gregakespret

View GitHub Profile
@gregakespret
gregakespret / sublime-text-macos-context-menu.md
Created December 30, 2017 05:30 — forked from idleberg/sublime-text-macos-context-menu.md
“Open in Sublime Text” in macOS context-menu

Open in Sublime Text

  • Open Automator
  • Create a new Service
  • Set “Service receives selected” to files or folders in any application
  • Add a Run Shell Script action
  • Set the script action to /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl -n $@
  • Set “Pass input” to as arguments
  • Save as Open in Sublime Text