summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-08-14 14:17:20 +0100
committerAlan Pearce2013-08-14 14:17:20 +0100
commit1f18bfaaf03f2696d53535d433478a5671fcb97f (patch)
tree2f0fb76df82b22d0c950fc7e56379bba2dbdd15c /emacs
parent4716b456014f52e847a63f2fc4a72b85c4b00a60 (diff)
downloaddotfiles-1f18bfaaf03f2696d53535d433478a5671fcb97f.tar.lz
dotfiles-1f18bfaaf03f2696d53535d433478a5671fcb97f.tar.zst
dotfiles-1f18bfaaf03f2696d53535d433478a5671fcb97f.zip
Emacs: make right modifier keys on Mac inherit the configuration of their left counterparts
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 225e019..0f05bc0 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -470,9 +470,9 @@ Values: `desktop', `server', `laptop'")
   (set-keyboard-coding-system nil)
   (setq mac-option-modifier 'meta
         mac-control-modifier 'command
-        mac-right-control-modifier 'command
+        mac-right-control-modifier 'left
         mac-command-modifier 'control
-        mac-right-command-modifier 'control))
+        mac-right-command-modifier 'left))
 
 (unbind-key "<f4>")
 (bind-key "<f5>" #'compile)