[user]
    name = Vladimír Dudr
    email = dudr@metrans.cz

[http "https://gopkg.in"]
    followRedirects = true

[gui]
    spellingdictionary = none

[color]
    ui = auto

[pull]
	rebase = true

[rebase]
    autostash = true

[core]
    pager = less

[delta]
    side-by-side = true
    ;file-decoration-style = none
    file-style = normal
    syntax-theme = gruvbox-dark
    hyperlinks = true

[diff]
	algorithm = patience
	external = difft

[sendemail]
    smtpserver = /usr/bin/msmtp
    smtpserveroption = -a
    smtpserveroption = tdj

[merge]
    tool = nvimdiff
    conflictstyle = diff3
[credential]
	helper = gopass
[credential "https://gitlab.corp.metrans.cz"]
	username = dudr

[diff "sops"]
    textconv = sops --config /dev/null -d

[diff "ansible-vault"]
    textconv = ansible-vault view --vault-password-file <(gopass show --password metrans/ansible-vault)
