Fall back to "TAB" if no [tab] keybind
This commit is contained in:
parent
c9eb00a217
commit
27e2848d3b
1 changed files with 8 additions and 3 deletions
|
@ -56,9 +56,14 @@
|
||||||
;; 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
|
(or (doom-lookup-key
|
||||||
[tab] (list (current-local-map)
|
[tab]
|
||||||
(evil-get-auxiliary-keymap (current-local-map) evil-state)))
|
(list (evil-get-auxiliary-keymap (current-local-map) evil-state)
|
||||||
|
(current-local-map)))
|
||||||
|
(and (not (doom-lookup-key
|
||||||
|
(kbd "TAB")
|
||||||
|
(list (evil-get-auxiliary-keymap (current-local-map) evil-state))))
|
||||||
|
(doom-lookup-key (kbd "TAB") (list (current-local-map)))))
|
||||||
it
|
it
|
||||||
(fboundp 'evil-jump-item)
|
(fboundp 'evil-jump-item)
|
||||||
#'evil-jump-item)
|
#'evil-jump-item)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue