Skip to content

Commit ec75ff5

Browse files
committed
Try out git-delta
1 parent 41f4456 commit ec75ff5

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.gitconfig.base

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
[core]
66
editor = nvim
7-
pager = less -FRX
7+
pager = delta
88
excludesfile = ~/.gitignore
99
[gist]
1010
private = yes
@@ -24,6 +24,12 @@
2424
enabled = true
2525
[stash]
2626
showStat = true
27+
[interactive]
28+
diffFilter = delta --color-only
29+
[delta]
30+
navigate = true
31+
line-numbers = true
32+
side-by-side = true
2733
[difftool]
2834
prompt = false
2935
[merge]
@@ -89,11 +95,6 @@
8995
status = auto
9096
branch = auto
9197
ui = auto
92-
[color "diff"]
93-
meta = blue
94-
frag = black
95-
old = red
96-
new = green
9798
[color "status"]
9899
added = green
99100
changed = yellow

homebrew.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ eza
44
fswatch
55
fzf
66
git
7+
git-delta
78
jq
89
neovim
910
pv

0 commit comments

Comments
 (0)