Forked from idleberg/sublime-text-macos-context-menu.md
Last active
December 30, 2018 13:17
-
-
Save jeonghopark/02c9e301411a3a7f9f61cbbdba5f4cdc to your computer and use it in GitHub Desktop.
Revisions
-
jeonghopark revised this gist
Dec 30, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ # Open in Sublime Text - Open Automator - Create a new Qucik Action - 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 "$@"` -
idleberg revised this gist
Jan 12, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ - 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` @@ -16,7 +16,7 @@ Let's repeat the steps above for a second entry, this time to add files or folde - Create a new Service - Add a `Run Shell Script` action - Set “Service receives selected” to `files or folders` in `any application` - Set the script action to `/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl -a "$@"` - Set “Pass input” to `as arguments` - Save as `Add to Sublime Text` -
idleberg revised this gist
Oct 5, 2016 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -39,4 +39,6 @@ You might want to rename or edit the items we just created - Click on “Finder” in the Apple menu, select “Services” then “Services Preferences” - In the right pane, scroll to “Files and Folders” and scroll to the item you want to edit - Right click the item and select “Open in Automator” - Edit and save Alternatively, you can edit the workflow (e.g. `~/Library/Services/Open in Sublime Text.workflow`) in your preferred text editor -
idleberg revised this gist
Oct 5, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -39,3 +39,4 @@ You might want to rename or edit the items we just created - Click on “Finder” in the Apple menu, select “Services” then “Services Preferences” - In the right pane, scroll to “Files and Folders” and scroll to the item you want to edit - Right click the item and select “Open in Automator” - Edit and save -
idleberg revised this gist
Oct 5, 2016 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -33,9 +33,9 @@ You can assign a global shortcut to run the services we just created # Edit Context Menu items You might want to rename or edit the items we just created - Activate Finder - Click on “Finder” in the Apple menu, select “Services” then “Services Preferences” - In the right pane, scroll to “Files and Folders” and scroll to the item you want to edit - Right click the item and select “Open in Automator” -
idleberg revised this gist
Oct 5, 2016 . 1 changed file with 13 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,9 +22,20 @@ Let's repeat the steps above for a second entry, this time to add files or folde # Keyboard Shortcuts You can assign a global shortcut to run the services we just created - 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 # Edit Context Menu items If you want to rename or edit the services, follow these steps - Activate Finder - Click on “Finder” in the Apple menu, select “Services” then “Services Preferences” - In the right pane, scroll to “Files and Folders” and select the item you want to edit - Right click and select “Open in Automator” -
idleberg revised this gist
Oct 5, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,6 +10,8 @@ # Add to Sublime Text Let's repeat the steps above for a second entry, this time to add files or folders to an existing Sublime Text window - Open Automator - Create a new Service - Add a `Run Shell Script` action -
idleberg revised this gist
Oct 5, 2016 . 1 changed file with 10 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,4 +16,13 @@ - Set “Service receives selected” to `files or folders` in `any application` - Set the script action to `/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl -a $@` - Set “Pass input” to `as arguments` - Save as `Add to Sublime Text` # Keyboard Shortcuts - Open “System Preferences” - Select “Keyboard” then the “Shortcuts” tab - In the left pane, click on “Service” - 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 -
idleberg revised this gist
Oct 5, 2016 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,18 +2,18 @@ - 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` # Add to Sublime Text - Open Automator - Create a new Service - Add a `Run Shell Script` action - Set “Service receives selected” to `files or folders` in `any application` - Set the script action to `/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl -a $@` - Set “Pass input” to `as arguments` - Save as `Add to Sublime Text` -
idleberg renamed this gist
Oct 5, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
idleberg revised this gist
Oct 5, 2016 . 1 changed file with 12 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,19 @@ # Open in Sublime Text - Open Automator - Create a new Service - Add a `Run Shell Script` action - Set input to Service receives selected `files or folders` in `any application` - 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` # Add to Sublime Text - Open Automator - Create a new Service - Add a `Run Shell Script` action - Set input to Service receives selected `files or folders` in `any application` - Set the script action to `/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl -a $@` - Set Pass input to `as arguments` - Save as `Add to Sublime Text` -
vincentmac created this gist
Sep 25, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ Add Sublime Text to OS X Context Menu ===================================== - Open Automator - Create a new Service - Add a `Run Shell Script` action - Set input to Service receives selected `files or folders` in `any application` - 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`