summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-08-01 13:29:45 +0100
committerAlan Pearce2013-08-01 13:29:45 +0100
commitae1b7c3d17f24726bfdf1f59a95c6bf0b32824f7 (patch)
tree9c52de465ee82a822126a6512701a8aadf7f5e63 /emacs
parent496df6c119046e450f4e047bbb6cf0428c7168b9 (diff)
downloaddotfiles-ae1b7c3d17f24726bfdf1f59a95c6bf0b32824f7.tar.lz
dotfiles-ae1b7c3d17f24726bfdf1f59a95c6bf0b32824f7.tar.zst
dotfiles-ae1b7c3d17f24726bfdf1f59a95c6bf0b32824f7.zip
Emacs: make right modifier keys consistent with their left counterparts on OS X
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 34fab37..2a383ed 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -464,7 +464,9 @@ Values: `desktop', `server', `laptop'")
 (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)