Emacs: auto-refresh magit status buffers
Alan Pearce alan@alanpearce.eu
Sat, 10 Jun 2023 18:17:07 +0200
2 files changed, 5 insertions(+), 0 deletions(-)
M user/emacs/init.el → user/emacs/init.el
@@ -943,6 +943,10 @@ (remove-hook 'magit-section-highlight-hook 'magit-section-highlight) (remove-hook 'magit-section-highlight-hook 'magit-section-highlight-selection) (remove-hook 'magit-section-highlight-hook 'magit-diff-highlight))) +(use-package magit-filenotify + :after magit + :ghook '(magit-status-mode-hook)) + (use-package git-gutter-fringe :defer 5 :config (progn
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -138,6 +138,7 @@ lua-mode lispy lispyville magit + magit-filenotify markdown-mode marginalia nerd-icons