Add a hook to magit that notifies diff-hl
@ -392,6 +392,7 @@ indent yanked text (with prefix arg don't indent)."
;; diff-hl
(global-diff-hl-mode +1)
(add-hook 'dired-mode-hook 'diff-hl-dired-mode)
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)
;; easy-kill
(global-set-key [remap kill-ring-save] 'easy-kill)