From 4e365ba3127c26e9cb900fa6d6753931dbce5e13 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Wed, 9 Sep 2020 20:11:38 +0200 Subject: [PATCH] Use delta as diff tool Signed-off-by: Severin Kaderli --- system/.config/git/config | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/system/.config/git/config b/system/.config/git/config index d8b4e1b..626e1ad 100644 --- a/system/.config/git/config +++ b/system/.config/git/config @@ -53,6 +53,7 @@ [core] editor = vim autocrlf = input + pager = delta [pull] rebase = false @@ -60,6 +61,18 @@ [push] default = current +[interactive] + diffFilter = delta --color-only + +[delta] + features = side-by-side line-numbers decorations + whitespace-error-style = 22 reverse + +[delta "decorations"] + commit-decoration-style = bold yellow box ul + file-style = bold yellow ul + file-decoration-style = none + [url "git@gitlab.com:severinkaderli/"] insteadOf = gl: