Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save peterk87/5424349 to your computer and use it in GitHub Desktop.
Save peterk87/5424349 to your computer and use it in GitHub Desktop.
Reg: Create Windows 7 file explorer context menu items for ST2 and Git Bash
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Open in Sublime Text 2]
"Icon"="C:\\Program Files\\Sublime Text 2\\sublime_text.exe"
[HKEY_CLASSES_ROOT\*\shell\Open in Sublime Text 2\command]
@="\"C:\\\\Program Files\\\\Sublime Text 2\\\\sublime_text.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\Open in Sublime Text 2\command]
@="\"C:\\\\Program Files\\\\Sublime Text 2\\\\sublime_text.exe\" \"%v\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\Open in Sublime Text 2]
"Position"="top"
"Icon"="C:\\Program Files\\Sublime Text 2\\sublime_text.exe"
[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Open in Sublime Text 2]
"Position"="top"
"Icon"="C:\\Program Files\\Sublime Text 2\\sublime_text.exe"
[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Open in Sublime Text 2\command]
@="\"C:\\\\Program Files\\\\Sublime Text 2\\\\sublime_text.exe\" \"%v\""
[HKEY_CLASSES_ROOT\Directory\shell\Open in Sublime Text 2\command]
@="\"C:\\\\Program Files\\\\Sublime Text 2\\\\sublime_text.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell\Open in Sublime Text 2]
"Position"="top"
"Icon"="C:\\Program Files\\Sublime Text 2\\sublime_text.exe"
[HKEY_CLASSES_ROOT\Directory\shell\gitBashHere]
"Icon"="%ProgramFiles(x86)%\\Git\\etc\\git.ico"
"MUIVerb"="Git Bash Here"
"Position"="bottom"
[HKEY_CLASSES_ROOT\Directory\shell\gitBashHere\command]
@="C:\\Windows\\SysWOW64\\cmd.exe /c \"\"C:\\Program Files (x86)\\Git\\bin\\sh.exe\" --login -i\" "
[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\gitBashHere]
"Icon"="%ProgramFiles(x86)%\\Git\\etc\\git.ico"
"MUIVerb"="Git Bash Here"
"Position"="bottom"
[HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\gitBashHere\command]
@="C:\\Windows\\SysWOW64\\cmd.exe /c \"\"C:\\Program Files (x86)\\Git\\bin\\sh.exe\" --login -i\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\gitBashHere]
"Icon"="%ProgramFiles(x86)%\\Git\\etc\\git.ico"
"MUIVerb"="Git Bash Here"
"Position"="bottom"
[HKEY_CLASSES_ROOT\Directory\Background\shell\gitBashHere\command]
@="C:\\Windows\\SysWOW64\\cmd.exe /c \"\"C:\\Program Files (x86)\\Git\\bin\\sh.exe\" --login -i\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment