[core]
    filemode = false
    pager = delta
    autocrlf = input
    editor = nvim
[user]
    name = Henrik Bakken
    email = bakken.henrik@gmail.com
[filter "lfs"]
    clean = git-lfs clean -- %f
    smudge = git-lfs smudge -- %f
    process = git-lfs filter-process
    required = true
[interactive]
    diffFilter = delta --color-only

[merge]
    conflictstyle = zdiff3

[delta]
    navigate = true
    light = false
    line-numbers = true
    side-by-side = true
    features = decorations
    minus-style = bold red
    minus-non-emph-style = bold red
    minus-emph-style = bold reverse red
    minus-empty-line-marker-style = normal "#3f0001"
    plus-style = bold green
    plus-non-emph-style  = bold green
    plus-emph-style  = bold reverse green
[delta "interactive"]
    keep-plus-minus-markers = false
[delta "decorations"]
    commit-decoration-style = bold yellow box ul
    file-style = bold yellow ul
    file-decoration-style = none
    hunk-header-decoration-style = cyan box ul
[init]
    defaultBranch = main
[column]
    ui = auto
[branch]
    sort = -committerdate
[tag]
    sort = version:refname
[diff]
    algorithm = histogram
    colorMoved = plain
    mnemonicPrefix = true
    renames = true
[push]
    autoSetupRemote = true
    followTags = true
[fetch]
    prune = true
    pruneTags = true
    all = true
[pull]
    rebase = true
[help]
    autocorrect = prompt
[rebase]
    autoSquash = true
    autoStash = true
    updateRefs = true

[rerere]
    enabled = true
    autoupdate = true
[color]
    ui = true
[safe]
    directory = /tmp
[credential]
    helper = /usr/lib/git-core/git-credential-libsecret
