Files
dotfiles/dot_gitconfig.tmpl
T

62 lines
1.5 KiB
Cheetah

[credential "https://github.com"]
helper =
helper = !gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !gh auth git-credential
[user]
email = {{ .email }}
name = {{ .name }}
[url "git@github.com:"]
pushInsteadOf = https://github.com/
[pager]
diff = diffnav
[delta]
dark = true
tabs = 2
file-style = omit
file-decoration-style = none
line-numbers-left-format = "{nm:>4} "
line-numbers-right-format = "│ {np:>4} "
line-numbers-left-style = white dim
line-numbers-right-style = "#1f2335" dim
line-numbers-zero-style = white dim
line-numbers-plus-style = white dim
line-numbers-minus-style = white dim
line-numbers-zero-style = white dim
wrap-left-symbol = " "
wrap-right-symbol = " "
wrap-right-prefix-symbol = " "
plus-style = syntax "#0e250e"
plus-emph-style = syntax "#103610"
minus-style = syntax "#402a26"
minus-emph-style = syntax "#45221c"
hunk-label = " 󰡏 "
hunk-header-line-number-style = "#10233A"
hunk-header-style = "#868E99"
hunk-header-file-style = "#868E99" dim
hunk-header-decoration-style = "#163050" ol ul
[core]
pager = git-split-diffs --color | less -+LFX
[split-diffs]
min-line-width = 40
theme-name = dark
[diff]
tool = codediff
[difftool "codediff"]
cmd = nvim \"$LOCAL\" \"$REMOTE\" +\"CodeDiff file $LOCAL $REMOTE\"
[push]
autoSetupRemote = true
[beads]
role = maintainer
[advice]
addIgnoredFile = false
[credential "https://prad.codes"]
helper =
helper = !tea login helper