feature/evil: refactor evil-force-normal-state advice into +evil-esc-hook
This commit is contained in:
parent
69f6eab913
commit
cce294fcf6
7 changed files with 29 additions and 16 deletions
|
@ -25,8 +25,8 @@
|
|||
(add-hook 'focus-in-hook #'git-gutter:update-all-windows)
|
||||
|
||||
(after! evil
|
||||
;; Refreshing git-gutter on ESC
|
||||
(advice-add #'evil-force-normal-state :after #'git-gutter)))
|
||||
;; Refresh git-gutter on ESC
|
||||
(add-hook '+evil-esc-hook #'git-gutter)))
|
||||
|
||||
|
||||
(def-package! git-timemachine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue