From 13413a72e828f0fbb862bed4e053a96096ba9882 Mon Sep 17 00:00:00 2001 From: Aria Edmonds Date: Wed, 6 Jun 2018 18:08:02 +1000 Subject: [PATCH] tools/magit: Show word-granularity on chosen hunk This really seems like it should be a default, it's so handy to get better diffs, sort of like how github does it. if set to 'all then it'll show on all of them, but I think t is good enough. --- modules/tools/magit/config.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/tools/magit/config.el b/modules/tools/magit/config.el index fe7099dfc..2315682a3 100644 --- a/modules/tools/magit/config.el +++ b/modules/tools/magit/config.el @@ -22,6 +22,7 @@ load everything.") #'ivy-completing-read #'magit-builtin-completing-read) magit-revision-show-gravatars '("^Author: " . "^Commit: ") + magit-diff-refine-hunk t ;; Show word-granularity on the currently selected hunk magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1)