Created
March 9, 2017 20:36
-
-
Save nileshk/f124d9aa1b47fe1b53859e7ed990c022 to your computer and use it in GitHub Desktop.
Emacs Registry Entry to configure Windows context menu
This file contains 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 characters
REGEDIT4 | |
[HKEY_CLASSES_ROOT\*\shell] | |
[HKEY_CLASSES_ROOT\*\shell\openwemacs] | |
@="&Emacs" | |
# The above value appears in the global context menu, | |
# i.e., when you right click on a file. | |
# (The '&' makes the next character a shortcut.) | |
"Icon"="C:\\Programs\\emacs\\bin\\emacs.exe,0" | |
# The above uses the icon of the Emacs exe for the context | |
# and should match the path used for the command below. | |
# The ,0 selects the main icon. | |
[HKEY_CLASSES_ROOT\*\shell\openwemacs\command] | |
@="C:\\Programs\\emacs\\bin\\emacsclientw.exe \"%1\" --alternate-editor C:\\Programs\\emacs\\bin\\runemacs.exe" | |
# The above has to point to where you install Emacs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment