Move evilified helpful keybinds to feature/evil

So that they are available even if config/default isn't enabled.
This commit is contained in:
Henrik Lissner 2018-12-05 19:19:27 -05:00
parent 7c3cc3ed5f
commit 72bf089249
2 changed files with 8 additions and 5 deletions

View file

@ -477,11 +477,7 @@
:map comint-mode-map [tab] #'company-complete)) :map comint-mode-map [tab] #'company-complete))
(:map* (help-mode-map helpful-mode-map) (:map* (help-mode-map helpful-mode-map)
:n "o" #'ace-link-help :n "Q" #'ivy-resume)
:n "q" #'quit-window
:n "Q" #'ivy-resume
:n "]l" #'forward-button
:n "[l" #'backward-button)
(:after vc-annotate (:after vc-annotate
:map vc-annotate-mode-map :map vc-annotate-mode-map

View file

@ -184,6 +184,13 @@ variable for an explanation of the defaults (in comments). See
(add-transient-hook! 'occur-mode (add-transient-hook! 'occur-mode
(+evil-collection-init (if EMACS26+ 'replace "replace"))) (+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 ;; Load the rest
(dolist (mode evil-collection-mode-list) (dolist (mode evil-collection-mode-list)
(dolist (req (or (cdr-safe mode) (list mode))) (dolist (req (or (cdr-safe mode) (list mode)))