Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save overdrivemachines/aac7032931d18eb67afec63bd9092300 to your computer and use it in GitHub Desktop.
Save overdrivemachines/aac7032931d18eb67afec63bd9092300 to your computer and use it in GitHub Desktop.
Adds "Open folder with Sublime Text" in right click menu for Windows 10. Works with Sublime Text 4 Build 4107
Windows Registry Editor Version 5.00
; For folders.
[HKEY_CLASSES_ROOT\Directory\shell\sublime]
@="&Open folder with Sublime Text"
"Icon"="\"C:\\Program Files\\Sublime Text\\sublime_text.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\sublime\command]
@="\"C:\\Program Files\\Sublime Text\\sublime_text.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime]
@="&Open folder with Sublime Text"
"Icon"="\"C:\\Program Files\\Sublime Text\\sublime_text.exe\",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime\command]
@="\"C:\\Program Files\\Sublime Text\\sublime_text.exe\" \"%V\""
; For files.
[HKEY_CLASSES_ROOT\*\shell\sublime]
@="&Open with Sublime Text"
"Icon"="\"C:\\Program Files\\Sublime Text\\sublime_text.exe\",0"
[HKEY_CLASSES_ROOT\*\shell\sublime\command]
@="\"C:\\Program Files\\Sublime Text\\sublime_text.exe\" \"%1\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment