summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-12-24 14:42:01 -0500
committerAmin Bandali <bandali@gnu.org>2018-12-24 14:42:01 -0500
commit5023c31042541667f71ce802dc1c79fe24eedee1 (patch)
tree5e61e31d3120365937a19a35fe4fedfa68b60307
parentf8e11b0e6f2d8dfe7a65d407288576f556241708 (diff)
downloadconfigs-5023c31042541667f71ce802dc1c79fe24eedee1.tar.gz
configs-5023c31042541667f71ce802dc1c79fe24eedee1.tar.xz
configs-5023c31042541667f71ce802dc1c79fe24eedee1.zip
[emacs][wip] move diff-hl to Editing
Diffstat (limited to '')
-rw-r--r--init.org24
1 files 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.