aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r--emacs/.emacs.d/init.org10
1 files changed, 10 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index eda6540..903bdff 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -520,6 +520,16 @@ To start off, first I need to enable lexical binding.
(ensure-library magit)
#+END_SRC
+ Show refined diffs in magit. This makes it much easier to see
+ /what/ has changed on a line.
+
+ #+BEGIN_SRC emacs-lisp
+ (eval-when-compile (require 'magit))
+
+ (with-eval-after-load 'magit
+ (setq magit-diff-refine-hunk 'all))
+ #+END_SRC
+
** Gnus
Gnus is one of the most extensible Email programs on the