1
0
Fork 0
dotfiles/.config/git/config

76 lines
2.3 KiB
Plaintext

# vim: set ft=gitconfig:
[init]
defaultBranch = main
[push]
default = upstream
recurseSubmodules = check
[pull]
rebase = false
[submodule]
recurse = true
[credential]
helper = store
[commit]
gpgsign = true
[tag]
gpgsign = true
[gpg]
program = /home/luca/.config/git/gpg-fallback-keys
[include]
path = ~/.config/git/host
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[diff]
colorMoved = default
[core]
editor = nvim
pager = delta --dark --paging=never --config $XDG_CONFIG_HOME/git/config
excludesfile = ~/.config/git/excludes
whitespace = tab-in-indent
[merge]
conflictstyle = diff3
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
dark = true
line-numbers = true
; side-by-side = true
keep-plus-minus-markers = false
syntax-theme = base16
file-style = "#414868" bold
file-decoration-style = "#414868" ul
file-added-label = [+]
file-copied-label = [==]
file-modified-label = [*]
file-removed-label = [-]
file-renamed-label = [->]
hunk-header-style = omit
line-numbers-left-format = "{nm:>3} "
line-numbers-left-style = "#b2555b"
line-numbers-right-format = "{np:>3} "
line-numbers-right-style = "#41a6b5"
line-numbers-minus-style = "#b2555b" italic
line-numbers-plus-style = "#41a6b5" italic
line-numbers-zero-style = "#414868" italic
minus-style = bold syntax "#914c54"
minus-emph-style = bold syntax "#b2555b"
minus-non-emph-style = bold syntax "#914c54"
plus-style = bold syntax "#266d6a"
plus-emph-style = bold syntax "#449dab"
plus-non-emph-style = bold syntax "#266d6a"
zero-style = syntax
blame-code-style = syntax
blame-format = "{author:<18} ({commit:>9}) {timestamp:^16}"
blame-palette = "#24283b" "#3b4261" "#414868" "#545c7e"
merge-conflict-begin-symbol = ~
merge-conflict-end-symbol = ~
merge-conflict-ours-diff-header-style = "#ffc777" bold
merge-conflict-ours-diff-header-decoration-style = "#414868" box
merge-conflict-theirs-diff-header-style = "#ffc777" bold
merge-conflict-theirs-diff-header-decoration-style = "#414868" box
[delta "interactive"]
keep-plus-minus-markers = false