From 496df6c119046e450f4e047bbb6cf0428c7168b9 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 1 Aug 2013 13:23:44 +0100 Subject: Emacs: switch control and command keys --- emacs/init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs/init.el b/emacs/init.el index 5f323a6..34fab37 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -461,6 +461,11 @@ Values: `desktop', `server', `laptop'") ;;;; Keybindings +(when (eq system-type 'darwin) + (setq mac-option-modifier 'meta + mac-control-modifier 'command + mac-command-modifier 'control)) + (unbind-key "") (bind-key "" #'compile) (bind-key "" #'kmacro-start-macro-or-insert-counter) -- cgit 1.4.1