Fix gr in compilation buffers (for evil users)

This commit is contained in:
Henrik Lissner 2021-06-06 01:19:49 -04:00
parent ea80826fd2
commit 47bce8856d

View file

@ -493,6 +493,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 compile
:map (compilation-mode-map compilation-minor-mode-map)
:n "gr" #'recompile)
(:after dired (:after dired
:map dired-mode-map :map dired-mode-map
:n "gr" #'revert-buffer) :n "gr" #'revert-buffer)