From 4a69fb5d2988ba983911c5aec73abe836b3086e8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 22 Dec 2018 14:23:11 -0500 Subject: [PATCH] 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. --- modules/config/default/+evil-bindings.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 752b611c6..cd8fcc9f6 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -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]))