From: Ruben Beltran del Rio Date: Fri, 9 Dec 2022 22:50:26 +0000 (+0100) Subject: Add local vimrc support X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/19afe8a8f6903095255f5955796653690f9ffc88?ds=sidebyside;hp=--cc Add local vimrc support --- 19afe8a8f6903095255f5955796653690f9ffc88 diff --git a/gitconfig b/gitconfig index 485954e..712e4df 100644 --- 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 e443ce3..01bb79b 100755 --- 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