From 15dd3bf7481143411a0598770ce0eabc7dd02213 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 27 Aug 2013 13:07:22 +0100 Subject: Emacs: Fix control key issue on OSX --- emacs/init.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'emacs') 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 "") (bind-key "" #'compile) -- cgit 1.4.1