mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Use key-translation-map for unicode
This commit is contained in:
@ -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
|
||||
|
@ -323,12 +323,5 @@
|
||||
;; escape from insert mode (more responsive than using key-chord-define)
|
||||
:irv "C-g" 'evil-normal-state)
|
||||
|
||||
;; Common unicode characters
|
||||
(map! :i "A-o" (λ! (insert "ø"))
|
||||
:i "A-O" (λ! (insert "Ø"))
|
||||
|
||||
:i "A--" (λ! (insert "–"))
|
||||
:i "A-_" (λ! (insert "—")))
|
||||
|
||||
(provide 'my-bindings)
|
||||
;;; my-bindings.el ends here
|
||||
|
Reference in New Issue
Block a user