Skip to content

Instantly share code, notes, and snippets.

@vishless
Created November 27, 2017 05:44
Show Gist options
  • Save vishless/91ecc6ed1235a73577ee06c9671b2556 to your computer and use it in GitHub Desktop.
Save vishless/91ecc6ed1235a73577ee06c9671b2556 to your computer and use it in GitHub Desktop.
Add emacs to right click menu
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