From: Amin Bandali Date: Mon, 24 Dec 2018 19:42:01 +0000 (-0500) Subject: [emacs][wip] move diff-hl to Editing X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/5023c31042541667f71ce802dc1c79fe24eedee1?hp=f8e11b0e6f2d8dfe7a65d407288576f556241708 [emacs][wip] move diff-hl to Editing --- diff --git a/init.org b/init.org index c341674..8484b7b 100644 --- a/init.org +++ b/init.org @@ -1194,18 +1194,6 @@ There's no way I could top that, so I won't attempt to. :hook (dired-mode . dired-hide-details-mode)) #+end_src -*** =diff-hl= - -Highlight uncommitted changes in the left fringe. - -#+begin_src emacs-lisp -(use-package diff-hl - :config - (setq diff-hl-draw-borders nil) - (global-diff-hl-mode) - (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh t)) -#+end_src - *** Borg's =layer/essentials= :PROPERTIES: :CUSTOM_ID: borg-essentials @@ -1273,6 +1261,18 @@ TODO: break this giant source block down into individual org sections. :CUSTOM_ID: editing :END: +** =diff-hl= + +Highlight uncommitted changes in the left fringe. + +#+begin_src emacs-lisp +(use-package diff-hl + :config + (setq diff-hl-draw-borders nil) + (global-diff-hl-mode) + :hook (magit-post-refresh . diff-hl-magit-post-refresh)) +#+end_src + ** =savehist= Save minibuffer history.