X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/3422e7aace62f888ee801bf9ec80561f6fe7f20c..916adeeed22ccfc1217217303088ba14f330bfe6:/gitconfig diff --git a/gitconfig b/gitconfig index e60d8a9..4c9ba68 100644 --- a/gitconfig +++ b/gitconfig @@ -1,14 +1,36 @@ [user] - name = Ruben Beltran del Rio - email = ruben@unlimited.pizza - signingkey = B7C3495D98F27947 + name = Ruben Beltran del Rio + email = git@r.bdr.sh + signingkey = ~/.ssh/git.pub +[sendemail] + smtpserver = smtp.fastmail.com + smtpuser = r@bdr.sh + smtpencryption = ssl + smtpserverport = 465 [core] - editor = vim + pager = delta + editor = nvim [color] - diff = auto + diff = auto [push] - default = simple + default = simple + autoSetupRemote = true [pull] rebase = false [commit] - gpgsign = true + gpgsign = true +[gpg] + format = ssh +[init] + defaultBranch = main +[diff] + external = difft + tool = vimdiff + algorithm = histogram +[merge] + tool = nvim + conflictstyle = zdiff3 +[mergetool] + keepBackup = false +[mergetool "nvim"] + cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'