#+begin_src emacs-lisp
(use-package diff-hl
:straight (diff-hl :type git :host github :repo "dgutov/diff-hl")
+ :hook ((magit-pre-refresh-hook . diff-hl-magit-pre-refresh)
+ (magit-post-refresh-hook . diff-hl-magit-post-refresh))
:config (global-diff-hl-mode))
#+end_src
* General text editing