-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
28 lines (24 loc) · 1005 Bytes
/
.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
[user]
name = Yang Tian
[core]
pager = "{ \
COLUMNS=$(tput cols); \
if [ $COLUMNS -ge 200 ] && [ -z $FZF_PREVIEW_COLUMNS ]; then \
delta --side-by-side -w $COLUMNS; \
elif [ $COLUMNS -ge 200 ] && [ ! -z $FZF_PREVIEW_COLUMNS ]; then \
delta --side-by-side -w $FZF_PREVIEW_COLUMNS; \
else \
delta; \
fi \
}"
excludesfile = ~/.gitignore
[branch]
sort = -committerdate
[delta]
features = line-numbers decorations
whitespace-error-style = 22 reverse
syntax-theme = gruvbox-dark
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none