Set keyboard shortcut for opening files in Sublime Text #

Tested under macOS 10.15.7 Catalina:

  1. Automator → File → New → Quick Action → Choose

  2. Workflow receives current: files or folders in: Finder.app

  3. Actions → Library → Files & Folders → drag "Open Finder Items" into Workflow area

  4. Open with: Sublime Text.app

  5. File → Save → Open with Sublime Text → Save (will be saved to "~/Library/Services/Open with Sublime Text.workflow")

  6. System Preferences → Keyboard → Shortcuts → Services → Files and Folders → Open with Sublime Text → set keyboard shortcut as desired (Command S in the screenshot)

Automator window

Services window

See also:

/mac | Feb 01, 2021


Subscribe or visit the archives.