-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.delta.gitconfig
36 lines (31 loc) · 1.04 KB
/
.delta.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# gitconfig for delta - https://github.com/dandavison/delta.
#
# Include this in global gitconfig using the following command:
# git config --global include.path ~/.delta.gitconfig
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
side-by-side = true
syntax-theme = zenburn
whitespace-error-style = 22 reverse
features = unobtrusive-line-numbers decorations
[delta "unobtrusive-line-numbers"]
line-numbers = true
line-numbers-minus-style = "#444444"
line-numbers-zero-style = "#444444"
line-numbers-plus-style = "#444444"
line-numbers-left-format = "{nm:>4}┊"
line-numbers-right-format = "{np:>4}│"
line-numbers-left-style = blue
line-numbers-right-style = blue
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
# hunk-header-style = file line-number syntax
hunk-header-decoration-style = cyan box ul