Use key-translation-map for unicode

This commit is contained in:
Henrik Lissner 2016-06-04 23:25:07 -04:00
parent bc33e39823
commit 805e1fa8ff
2 changed files with 12 additions and 7 deletions

View file

@ -333,5 +333,17 @@
"h" nil
"g" nil)))
;; Fix certain keys in the terminal
(unless window-system
(map! :map key-translation-map
"TAB" [tab]))
;; Common unicode characters
(map! :map key-translation-map
"A-o" (kbd "ø")
"A-O" (kbd "Ø")
"A--" (kbd "")
"A-_" (kbd ""))
(provide 'core-editor)
;;; core-editor.el ends here