Created
January 4, 2017 14:14
-
-
Save merrickluo/68f0111df99600e0a0c6d706c86bc457 to your computer and use it in GitHub Desktop.
windows open with emacs context menu https://www.emacswiki.org/emacs/MsWindowsGlobalContextMenu
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] | |
@="&Open With Emacs" | |
"Icon"="C:\\Program Files\\Emacs\\bin\\emacs.exe,0" | |
# 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.) | |
[HKEY_CLASSES_ROOT\*\shell\openwemacs\command] | |
@="C:\\Program Files\\Emacs\\bin\\emacsclientw -n -a \"C:\\Program Files\\Emacs\\bin\\runemacs\" \"%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