-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_gitconfig.tmpl
61 lines (45 loc) · 1.01 KB
/
dot_gitconfig.tmpl
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[init]
defaultBranch = main
[merge]
tool = diffview
[mergetool]
prompt = false
keepBackup = false
[mergetool "diffview"]
cmd = nvim -n -c "DiffviewOpen" "$MERGE"
[color]
ui = true
{{- if eq .chezmoi.os "linux" }}
{{- if (.chezmoi.kernel.osrelease | lower | contains "microsoft") }}
[credential]
helper = /mnt/c/Program\\ Files/Git/mingw64/bin/git-credential-manager.exe
{{- end }}
{{- end }}
[user]
email = kimdhyungg@gmail.com
name = Daehyun Kim
[credential "github.com"]
username = vimkim
[core]
editor = nvim
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
side-by-side = true
line-numbers = true
# delta detects terminal colors automatically; set one of these to disable auto-detection
# dark = true
# light = true
[merge]
conflictstyle = zdiff3
[difftool]
prompt = true
[diff]
colorMoved = default
tool = nvimdiff
[difftool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
[commit]
verbose = 1