From a34afeb0edab0d24cdc05e693ede253c52e47212 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Wed, 20 Jan 2021 15:12:34 +0100 Subject: [PATCH] git: Added diff-highlight as pager and for tig --- .config/gitconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/gitconfig b/.config/gitconfig index af192b4..2dc814d 100644 --- a/.config/gitconfig +++ b/.config/gitconfig @@ -26,6 +26,10 @@ tool = vimdiff [pack] threads = 0 +[pager] + log = diff-highlight | less -FRX + show = diff-highlight | less -FRX + diff = diff-highlight | less -FRX [pull] rebase = true [rebase] @@ -34,6 +38,7 @@ insteadof = http:// [tig] blob-view = line-number:yes,interval=5 text + diff-highlight = true line-graphics = utf-8 tab-size = 4 [filter "lfs"]