mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -56,7 +56,9 @@
|
|||||||
;; mode-local ones for modes that don't have an evil
|
;; mode-local ones for modes that don't have an evil
|
||||||
;; keybinding scheme or users who don't have :editor (evil
|
;; keybinding scheme or users who don't have :editor (evil
|
||||||
;; +everywhere) enabled.
|
;; +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
|
it
|
||||||
(fboundp 'evil-jump-item)
|
(fboundp 'evil-jump-item)
|
||||||
#'evil-jump-item)
|
#'evil-jump-item)
|
||||||
|
Reference in New Issue
Block a user