mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix non-prefix key error on MacOS
kbd is necessary for global-set-key, otherwise it reads M-` as three keys M, - and `, and M is already bound to self-insert-command, so it cannot be used as a prefix.
This commit is contained in:
@ -775,7 +775,7 @@
|
||||
;; Fix MacOS shift+tab
|
||||
(define-key input-decode-map [S-iso-lefttab] [backtab])
|
||||
;; Fix frame-switching on MacOS
|
||||
(global-set-key "M-`" #'other-frame))
|
||||
(global-set-key (kbd "M-`") #'other-frame))
|
||||
|
||||
(defun +default|setup-input-decode-map ()
|
||||
(define-key input-decode-map (kbd "TAB") [tab]))
|
||||
|
Reference in New Issue
Block a user