Skip to content

Instantly share code, notes, and snippets.

@diegofelix
Forked from iaian/sublimeText2_contextMenu.reg
Last active December 20, 2015 04:29
Show Gist options
  • Save diegofelix/6071273 to your computer and use it in GitHub Desktop.
Save diegofelix/6071273 to your computer and use it in GitHub Desktop.
Sublime Text 3: Adding Context Menu on Windows
Windows Registry Editor Version 5.00
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\shell\sublime]
@="Open Folder as Sublime Project"
"Icon"="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\sublime\command]
@="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\" \"%1\""
; This will make it appear when you right click INSIDE a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime]
@="Open Folder as Sublime Project"
"Icon"="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime\command]
@="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\" \"%V\""
; Notepadd++ like open with sublimeText3
[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3]
@="Open with Sublime Text 3"
"Icon"="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\",0"
[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command]
@="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\" \"%1\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment