3

Is there a way to define a keyboard shortcut that would open a whole folder with Sublime Text?

I can (obviously) easily open a file, I managed to define such a shortcut for opening a Terminal window at the folder location through keyboard preferences, but I don't know how to do that for 3rd party apps.

2
  • you can also just drag a folder from finder onto the subl icon in your dock which i find quite useful.
    – mwal
    Commented Dec 3, 2018 at 14:06
  • Thank you ! I'd prefer using the keyboard than dragging the folder but this is good to know
    – Romain
    Commented Dec 3, 2018 at 15:05

1 Answer 1

1

Open System Preferences

Select Keyboard, then the Shortcuts tab

In the left pane, click on Services

In the right pane, scroll to Files and Folders

Select Open in Sublime Text (or Add to Sublime Text) and click add shortcut

Select a shortcut.

2
  • This is exactly what I tried but I don't have any option related to Sublime Text in Files and Folders
    – Romain
    Commented Dec 3, 2018 at 15:04
  • Using this tutorial I created an automator service, and now the service appears in Files and Folders, so I was able to create the shortcut.
    – Romain
    Commented Dec 3, 2018 at 15:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .