summaryrefslogtreecommitdiffstats
path: root/lisp/init-mac.el
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-07-14 22:31:57 +0200
committerMartin Polden <mpolden@mpolden.no>2022-07-14 22:31:57 +0200
commitab94fdc58f42718ddca51aae0a4ccc8bbf7b56c9 (patch)
treeb58e05c7af8fafa5cd50e708522e57d499accaee /lisp/init-mac.el
parent65e20c8a25fe4e5faf187aa926e0fa85cd80fd96 (diff)
mac: remove obsolete key translation hacks
Diffstat (limited to 'lisp/init-mac.el')
-rw-r--r--lisp/init-mac.el15
1 files 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)