diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-09-24 08:51:08 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-09-24 08:51:08 +0100 |
commit | 5976ca5d608a128c3ae150ad8da513f3fe0b3a59 (patch) | |
tree | d2aee60441f6368ed1255a80c19dc865f0464af5 /.emacs.d | |
parent | 8593874915ed8c399577946f1605f3731385dcd0 (diff) | |
download | dotfiles-5976ca5d608a128c3ae150ad8da513f3fe0b3a59.tar.gz |
Change darwin keys
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/lisp/init-ui.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.emacs.d/lisp/init-ui.el b/.emacs.d/lisp/init-ui.el index cb1c831..1cfde4f 100644 --- a/.emacs.d/lisp/init-ui.el +++ b/.emacs.d/lisp/init-ui.el @@ -79,9 +79,12 @@ "%b")))) (when (eq system-type 'darwin) - (setq mac-option-modifier 'meta) - (setq mac-right-option-modifier 'none) - (setq mac-command-modifier 'super))) + (setq mac-option-modifier 'meta + mac-right-option-modifier 'none) + ;; After swapping control and command, this works nicely, + ;; otherwise use (setq mac-command-modifier 'super) + (setq mac-command-modifier 'control + mac-control-modifier 'super))) (use-package hl-todo :bind |