all repos — nixfiles @ 15dd3bf7481143411a0598770ce0eabc7dd02213

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

Emacs: Fix control key issue on OSX
Alan Pearce alan@bulbstudios.com
Tue, 27 Aug 2013 13:07:22 +0100
commit

15dd3bf7481143411a0598770ce0eabc7dd02213

parent

1f18bfaaf03f2696d53535d433478a5671fcb97f

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -469,10 +469,12 @@ (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)