summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-08-27 13:07:22 +0100
committerAlan Pearce2013-08-28 09:12:35 +0100
commit15dd3bf7481143411a0598770ce0eabc7dd02213 (patch)
tree52ed66756a6577ec8ed3ad42aeefc261d2a8a8b8 /emacs
parent1f18bfaaf03f2696d53535d433478a5671fcb97f (diff)
downloaddotfiles-15dd3bf7481143411a0598770ce0eabc7dd02213.tar.lz
dotfiles-15dd3bf7481143411a0598770ce0eabc7dd02213.tar.zst
dotfiles-15dd3bf7481143411a0598770ce0eabc7dd02213.zip
Emacs: Fix control key issue on OSX
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 0f05bc0..41daa4a 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -469,10 +469,12 @@ Values: `desktop', `server', `laptop'")
 (when (eq system-type 'darwin)
   (set-keyboard-coding-system nil)
   (setq mac-option-modifier 'meta
-        mac-control-modifier 'command
+        mac-right-option-modifier 'left
+        mac-control-modifier 'super
         mac-right-control-modifier 'left
         mac-command-modifier 'control
-        mac-right-command-modifier 'left))
+        mac-right-command-modifier 'left
+        mac-function-modifier 'hyper))
 
 (unbind-key "<f4>")
 (bind-key "<f5>" #'compile)