Merge pull request #5296 from Wetlize/add-helpful-update-kbd

editor/evil: Add gr keybinding to refresh `helpful` buffers
This commit is contained in:
Henrik Lissner 2021-07-25 17:58:50 -04:00 committed by GitHub
commit 617fc7f1cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -494,6 +494,9 @@ directives. By default, this only recognizes C directives.")
:v "gR" #'+eval:replace-region :v "gR" #'+eval:replace-region
;; Restore these keybinds, since the blacklisted/overwritten gr/gR will ;; Restore these keybinds, since the blacklisted/overwritten gr/gR will
;; undo them: ;; undo them:
(:after helpful
:map helpful-mode-map
:n "gr" #'helpful-update)
(:after compile (:after compile
:map (compilation-mode-map compilation-minor-mode-map) :map (compilation-mode-map compilation-minor-mode-map)
:n "gr" #'recompile) :n "gr" #'recompile)