diff options
author | Amin Bandali <bandali@gnu.org> | 2018-12-24 14:42:01 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-12-24 14:42:01 -0500 |
commit | 5023c31042541667f71ce802dc1c79fe24eedee1 (patch) | |
tree | 5e61e31d3120365937a19a35fe4fedfa68b60307 | |
parent | f8e11b0e6f2d8dfe7a65d407288576f556241708 (diff) | |
download | configs-5023c31042541667f71ce802dc1c79fe24eedee1.tar.gz configs-5023c31042541667f71ce802dc1c79fe24eedee1.tar.xz configs-5023c31042541667f71ce802dc1c79fe24eedee1.zip |
[emacs][wip] move diff-hl to Editing
-rw-r--r-- | init.org | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -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. |