Move evilified helpful keybinds to feature/evil
So that they are available even if config/default isn't enabled.
This commit is contained in:
parent
7c3cc3ed5f
commit
72bf089249
2 changed files with 8 additions and 5 deletions
|
@ -477,11 +477,7 @@
|
|||
:map comint-mode-map [tab] #'company-complete))
|
||||
|
||||
(:map* (help-mode-map helpful-mode-map)
|
||||
:n "o" #'ace-link-help
|
||||
:n "q" #'quit-window
|
||||
:n "Q" #'ivy-resume
|
||||
:n "]l" #'forward-button
|
||||
:n "[l" #'backward-button)
|
||||
:n "Q" #'ivy-resume)
|
||||
|
||||
(:after vc-annotate
|
||||
:map vc-annotate-mode-map
|
||||
|
|
|
@ -184,6 +184,13 @@ variable for an explanation of the defaults (in comments). See
|
|||
(add-transient-hook! 'occur-mode
|
||||
(+evil-collection-init (if EMACS26+ 'replace "replace")))
|
||||
|
||||
(after! helpful
|
||||
(evil-define-key* 'normal helpful-mode-map
|
||||
"o" #'ace-link-help
|
||||
"q" #'quit-window
|
||||
"]l" #'forward-button
|
||||
"[l" #'backward-button))
|
||||
|
||||
;; Load the rest
|
||||
(dolist (mode evil-collection-mode-list)
|
||||
(dolist (req (or (cdr-safe mode) (list mode)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue