From 569ad987a990a265014b55e48c7bf4e9118d3d21 Mon Sep 17 00:00:00 2001 From: kenorb Date: Tue, 8 Oct 2024 16:22:03 +0100 Subject: [PATCH] Adds delta to git --- .gitconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitconfig b/.gitconfig index d897d62..ec7c257 100644 --- a/.gitconfig +++ b/.gitconfig @@ -13,6 +13,17 @@ whitespace = trailing-space,space-before-tab excludesfile = ~/.gitignore autocrlf = false + pager = delta ; @see: https://github.com/dandavison/delta + +[delta] + navigate = true # use n and N to move between diff sections + + # delta detects terminal colors automatically; set one of these to disable auto-detection + # dark = true + # light = true + +[interactive] + diffFilter = delta --color-only [push] default = current @@ -46,6 +57,7 @@ clean = "sed -e 's/^password=.*/#password=TODO/'" # DIFF section [diff] + colorMoved = default tool = diffmerge guitool = diffmerge renamelimit = 7274