summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 2bfdb2d..0b74fd6 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -281,7 +281,12 @@ With two prefix arguments, write out the day and month name."
   :commands (magit-status magit-dispatch)
   :custom ((global-magit-file-mode +1)
            (magit-section-visibility-indicator nil)
-           (magit-completing-read-function #'ivy-completing-read)))
+           (magit-diff-refine-hunk 'all)
+           (magit-completing-read-function #'ivy-completing-read))
+  :config (progn
+            (remove-hook 'magit-section-highlight-hook 'magit-section-highlight)
+            (remove-hook 'magit-section-highlight-hook 'magit-section-highlight-selection)
+            (remove-hook 'magit-section-highlight-hook 'magit-diff-highlight)))
 
 (eval-when-compile (require 'fringe-helper))
 (use-package git-gutter)