all repos — nixfiles @ ae1b7c3d17f24726bfdf1f59a95c6bf0b32824f7

System and user configuration, managed by nix and home-manager

Emacs: make right modifier keys consistent with their left counterparts on OS X
Alan Pearce alan@alanpearce.co.uk
Thu, 01 Aug 2013 13:29:45 +0100
commit

ae1b7c3d17f24726bfdf1f59a95c6bf0b32824f7

parent

496df6c119046e450f4e047bbb6cf0428c7168b9

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -464,7 +464,9 @@ (when (eq system-type 'darwin)
   (setq mac-option-modifier 'meta
         mac-control-modifier 'command
-        mac-command-modifier 'control))
+        mac-right-control-modifier 'command
+        mac-command-modifier 'control
+        mac-right-command-modifier 'control))
 
 (unbind-key "<f4>")
 (bind-key "<f5>" #'compile)