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).
This commit is contained in:
Henrik Lissner 2021-03-06 00:02:48 -05:00
parent cb194a31b1
commit 55cfe0cca4

View file

@ -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)