diff --git a/modules/editor/evil/config.el b/modules/editor/evil/config.el index 33c0f37d345..9b9b040f3de 100644 --- a/modules/editor/evil/config.el +++ b/modules/editor/evil/config.el @@ -493,6 +493,9 @@ directives. By default, this only recognizes C directives.") :v "gR" #'+eval:replace-region ;; Restore these keybinds, since the blacklisted/overwritten gr/gR will ;; undo them: + (:after compile + :map (compilation-mode-map compilation-minor-mode-map) + :n "gr" #'recompile) (:after dired :map dired-mode-map :n "gr" #'revert-buffer)