X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/19afe8a8f6903095255f5955796653690f9ffc88..729a5b29a9d392b2e9dcf6f7a4e221c7eaed68a1:/gitconfig diff --git a/gitconfig b/gitconfig index 712e4df..4c9ba68 100644 --- a/gitconfig +++ b/gitconfig @@ -1,21 +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 = ruben@unlimited.pizza - smtpencryption = ssl - smtpserverport = 465 + smtpserver = smtp.fastmail.com + smtpuser = r@bdr.sh + smtpencryption = ssl + smtpserverport = 465 [core] - editor = nvim + 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 + 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'