diff options
author | Alan Pearce | 2013-08-27 13:07:22 +0100 |
---|---|---|
committer | Alan Pearce | 2013-08-28 09:12:35 +0100 |
commit | 15dd3bf7481143411a0598770ce0eabc7dd02213 (patch) | |
tree | 52ed66756a6577ec8ed3ad42aeefc261d2a8a8b8 /emacs/init.el | |
parent | 1f18bfaaf03f2696d53535d433478a5671fcb97f (diff) | |
download | nixfiles-15dd3bf7481143411a0598770ce0eabc7dd02213.tar.lz nixfiles-15dd3bf7481143411a0598770ce0eabc7dd02213.tar.zst nixfiles-15dd3bf7481143411a0598770ce0eabc7dd02213.zip |
Emacs: Fix control key issue on OSX
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el index 0f05bc0c..41daa4a5 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) |