Skip to content

Commit

Permalink
Adds delta to git
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Oct 8, 2024
1 parent c38a7b9 commit 569ad98
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -46,6 +57,7 @@ clean = "sed -e 's/^password=.*/#password=TODO/'"

# DIFF section
[diff]
colorMoved = default
tool = diffmerge
guitool = diffmerge
renamelimit = 7274
Expand Down

0 comments on commit 569ad98

Please sign in to comment.