From 28a8754123c9c87243cb51bdd2aef33bbcf05e43 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Thu, 12 Nov 2020 09:43:20 -0500 Subject: [PATCH] Add git-delta to .gitconfig --- .gitconfig | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/.gitconfig b/.gitconfig index 6ac8bac..a10567f 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,3 +1,6 @@ +[include] + path = ~/.gitconfig-work + [alias] aa = add -A . br = branch @@ -31,9 +34,7 @@ [core] editor = vim - -[user] - name = Dave Gallant + pager = delta [push] default = current @@ -46,7 +47,23 @@ smudge = git-lfs smudge -- %f required = true process = git-lfs filter-process + [commit] - gpgsign = true + gpgsign = true + [gpg] - program = gpg + program = gpg + +[core] + +[interactive] + diffFilter = delta --color-only + +[delta] + features = 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