-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig.tmpl
More file actions
41 lines (34 loc) · 954 Bytes
/
dot_gitconfig.tmpl
File metadata and controls
41 lines (34 loc) · 954 Bytes
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
37
38
39
40
41
[user]
name = {{ or .name "Eric Liao" }}
[core]
editor = nvim
[commit]
gpgsign = true
[alias]
co = checkout
br = branch
ci = commit
st = status
stat = !git diff --stat $(git merge-base HEAD \"$REVIEW_BASE\")
files = !git diff --name-only $(git merge-base HEAD \"$REVIEW_BASE\")
review = !nvim -p $(git files) +\"tabdo Gdiff $REVIEW_BASE\" +\"let g:gitgutter_diff_base = '$REVIEW_BASE'\"
reviewone = !nvim -p +\"tabdo Gdiff $REVIEW_BASE\" +\"let g:gitgutter_diff_base = '$REVIEW_BASE'\"
[push]
default = current
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[interactive]
diffFilter = delta --color-only
[delta]
features = side-by-side line-numbers decorations
whitespace-error-style = 22 reverse
syntax-theme = "Nord"
navigate = true
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none