Skip to content

Commit

Permalink
Fix gr in compilation buffers (for evil users)
Browse files Browse the repository at this point in the history
  • Loading branch information
hlissner committed Jun 6, 2021
1 parent ea80826 commit 47bce88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/editor/evil/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 47bce88

Please sign in to comment.