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