diff options
author | Alan Pearce | 2013-08-01 13:23:44 +0100 |
---|---|---|
committer | Alan Pearce | 2013-08-01 13:23:44 +0100 |
commit | 496df6c119046e450f4e047bbb6cf0428c7168b9 (patch) | |
tree | 043c3009e552658bc6b78f573f4018e46dcbd065 /emacs | |
parent | 904e18d318ce25bc5a7ab589bd64fa42c404d68c (diff) | |
download | nixfiles-496df6c119046e450f4e047bbb6cf0428c7168b9.tar.lz nixfiles-496df6c119046e450f4e047bbb6cf0428c7168b9.tar.zst nixfiles-496df6c119046e450f4e047bbb6cf0428c7168b9.zip |
Emacs: switch control and command keys
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index 5f323a6f..34fab378 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 "<f4>") (bind-key "<f5>" #'compile) (bind-key "<f6>" #'kmacro-start-macro-or-insert-counter) |