Created
November 27, 2017 05:44
-
-
Save vishless/91ecc6ed1235a73577ee06c9671b2556 to your computer and use it in GitHub Desktop.
Add emacs to right click 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] | |
@="&GNU 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:\\Program Files\\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:\\Program Files\\Emacs\\bin\\runemacs.exe \"%1\"" | |
# 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