]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Add local vimrc support
authorRuben Beltran del Rio <redacted>
Fri, 9 Dec 2022 22:50:26 +0000 (23:50 +0100)
committerRuben Beltran del Rio <redacted>
Fri, 9 Dec 2022 22:50:26 +0000 (23:50 +0100)
gitconfig
vimrc

index 485954e152f1e06333b6b1dbb379e5b5f9757740..712e4dff7df94afbc50c82851dca402d5dd4f8d2 100644 (file)
--- a/gitconfig
+++ b/gitconfig
@@ -2,6 +2,11 @@
        name = Ruben Beltran del Rio
        email = ruben@unlimited.pizza
        signingkey = B7C3495D98F27947
+[sendemail]
+       smtpserver = smtp.fastmail.com
+       smtpuser = ruben@unlimited.pizza
+       smtpencryption = ssl
+       smtpserverport = 465
 [core]
        editor = nvim
 [color]
@@ -12,3 +17,5 @@
   rebase = false
 [commit]
        gpgsign = true
+[init]
+       defaultBranch = main
diff --git a/vimrc b/vimrc
index e443ce34461caf211189d7f5b0bc42a1a99c364e..01bb79b52d1b04328069e0da6a16bd60818ae6cb 100755 (executable)
--- a/vimrc
+++ b/vimrc
@@ -244,3 +244,7 @@ Plug 'jremmen/vim-ripgrep'
 
 " List ends here. Plugins become visible to Vim after this call.
 call plug#end()
+
+if filereadable(expand('~/.vimrc.local'))
+  exe 'source' '~/.vimrc.local'
+endif