From 5023c31042541667f71ce802dc1c79fe24eedee1 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 24 Dec 2018 14:42:01 -0500 Subject: [emacs][wip] move diff-hl to Editing --- init.org | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) 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. -- cgit v1.2.3-60-g2f50