From ab94fdc58f42718ddca51aae0a4ccc8bbf7b56c9 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Thu, 14 Jul 2022 22:31:57 +0200 Subject: mac: remove obsolete key translation hacks --- lisp/init-mac.el | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/lisp/init-mac.el b/lisp/init-mac.el index 5fc8428..14c7d74 100644 --- a/lisp/init-mac.el +++ b/lisp/init-mac.el @@ -13,20 +13,9 @@ :family font-family :height (* 10 mpolden/font-size)))) -;; configure modifiers -(setq mac-option-modifier 'super) + +;; use command as meta (setq mac-command-modifier 'meta) -(setq ns-function-modifier 'hyper) - -;; Norwegian mac-keyboard -(define-key key-translation-map (kbd "s-8") (kbd "[")) -(define-key key-translation-map (kbd "s-(") (kbd "{")) -(define-key key-translation-map (kbd "s-9") (kbd "]")) -(define-key key-translation-map (kbd "s-)") (kbd "}")) -(define-key key-translation-map (kbd "s-7") (kbd "|")) -(define-key key-translation-map (kbd "s-/") (kbd "\\")) -(define-key key-translation-map (kbd "M-s-7") (kbd "M-|")) -(define-key key-translation-map (kbd "s-ยจ") (kbd "~")) ;; don't open files from the workspace in a new frame (setq ns-pop-up-frames nil) -- cgit v1.2.3