all repos — nixfiles @ 496df6c119046e450f4e047bbb6cf0428c7168b9

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

Emacs: switch control and command keys

Alan Pearce
commit

496df6c119046e450f4e047bbb6cf0428c7168b9

parent

904e18d318ce25bc5a7ab589bd64fa42c404d68c

1 file changed, 5 insertions(+), 0 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -461,6 +461,11 @@ (add-hook 'php-mode-hook #'smart-tabs-mode-enable)))
;;;; 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)