aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-08-28 01:19:34 +0200
committerGravatar Tom Willemse2016-08-28 01:19:34 +0200
commit89e280703d4437cbf13eb67ed4ef69d55e14fe61 (patch)
treeea6ed9861d7fe108c99ec7f235da2cad43222122 /emacs/.emacs.d
parent77263ce87b66e197d903d48f2ae4b560522e7260 (diff)
downloadnew-dotfiles-89e280703d4437cbf13eb67ed4ef69d55e14fe61.tar.gz
new-dotfiles-89e280703d4437cbf13eb67ed4ef69d55e14fe61.zip
Add diff-hl-mode
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/init.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index d7a6464..18bac75 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -442,6 +442,17 @@ To start off, first I need to enable lexical binding.
'face '(:family "Font Awesome" :height 0.75)))
#+END_SRC
+** Diff highlight mode
+
+ Show the state of lines added, changed and removed since the last
+ commit.
+
+ #+BEGIN_SRC emacs-lisp
+ (ensure-library diff-hl)
+ (require 'diff-hl)
+ (global-diff-hl-mode)
+ #+END_SRC
+
* Major modes
** Emacs lisp mode