From: rearman Date: Mon, 11 May 2026 20:24:51 +0000 (-0400) Subject: Tweaks to vc-mode X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=cf375145de6667d527b7ce92c026e0dbd071da9a;p=emacsinit.git Tweaks to vc-mode Diff doesn't need the patch summary, and I've defaulted to histogram diff algo system-wide anyway. --- diff --git a/config.org b/config.org index f9da8e0..353c4d1 100644 --- a/config.org +++ b/config.org @@ -1329,14 +1329,13 @@ With arg, ask for remote, otherwise fetch all." (add-hook 'vc-dir-mode-hook (lambda () (keymap-set vc-dir-mode-map "b b" #'re/vc-show-branches) - (keymap-set vc-dir-mode-map "f" #'re/vc-fetch))) + (keymap-set vc-dir-mode-map "f" #'re/vc-fetch) + (keymap-set vc-dir-mode-map "k" #'vc-revert))) (setq vc-make-backup-files nil vc-handled-backends '(Git) - vc-git-diff-switches '("--patch-with-stat" "--histogram") - vc-git-log-switches '("--oneline" "--all" "--graph") + vc-git-log-switches '("--oneline" "--graph" "--decorate" "--all") vc-git-log-edit-summary-target-len 50 - vc-git-log-edit-summary-max-len 70 vc-find-revision-no-save t) #+END_SRC * Backups