+3

Right-click context menu (Windows)

Chris 11 years ago 0

Adding "edit with sublime" to the right-click context menu for windows would be faster editing a file in some cases.

below is registry I am using to add this, it does "edit with sublime" and "open folder as sublime project" all credits go to this Site


Windows Registry Editor Version 5.00

; Open files

[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2]

@="Edit with S&ublime Text 2"

"Icon"="C:\\Program Files\\Sublime Text 2\\sublime_text.exe,0"

[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2\command]

@="\"C:\\Program Files\\Sublime Text 2\\sublime_text.exe\" \"%1\""

; 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 2\\sublime_text.exe\",0"

[HKEY_CLASSES_ROOT\Directory\shell\sublime\command]

@="\"C:\\Program Files\\Sublime Text 2\\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 2\\sublime_text.exe\",0"

[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime\command]

@="\"C:\\Program Files\\Sublime Text 2\\sublime_text.exe\" \"%V\""