From 55cfe0cca468d09b415374955968cfa70ed3d711 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 6 Mar 2021 00:02:48 -0500 Subject: [PATCH] Fix TAB fallthrough for evil keybinds If TAB was bound on the current keymap, our TAB dispatcher would fall back on it, but it wouldn't see TAB keybinds on evil auxiliary keymaps on the current keymaps (e.g. in cfw:calendar-mode). --- modules/config/default/+evil-bindings.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 9c06f3986..a7a882cf8 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -56,7 +56,9 @@ ;; mode-local ones for modes that don't have an evil ;; keybinding scheme or users who don't have :editor (evil ;; +everywhere) enabled. - (doom-lookup-key [tab] (list (current-local-map))) + (doom-lookup-key + [tab] (list (current-local-map) + (evil-get-auxiliary-keymap (current-local-map) evil-state))) it (fboundp 'evil-jump-item) #'evil-jump-item)