repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

git/gitconfig

Raw
# vim: ft=gitconfig
# This is Git's per-user configuration file.
[user]
  name = Oliver Jan Krylow
  email = olver@bugabinga.net

[core]
  editor = nvim
  quotepath = false
  autocrlf = input
  pager = delta
  safecrlf = false

[diff]
  colorMoved = default
  tool = nvimdiff

[difftool]
  prompt = false

[difftool "nvimdiff"]
  cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""

[merge]
  tool = nvimmerge

[mergetool]
  prompt = true

[mergetool "nvimmerge"]
  cmd = "nvim -d \"$LOCAL\" \"$MERGED\" \"$REMOTE\" -c 'wincmd w' -c 'wincmd J'"

[pull]
  rebase = false

[interactive]
  diffFilter = delta --color-only

[delta]
  side-by-side = true
  line-numbers = true
  decorations = true
  navigate = true
  syntax-theme =  none

[interactive]
  diffFilter = delta --color-only

[init]
  defaultBranch = trunk

[commit]
  verbose = true

[help]
  # try to automatically correct mispelled git commands
	autocorrect = 7

# In order to have host-specific configuration, I include additional settings here.
# On each host a different file might be symlinked into '.gitconfig.include'.
[include]
  path = .gitconfig.include
[credential "helperselector"]
	selected = manager-core