From 5608fd642866fca6e553fe842975b6a370d16df4 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Mon, 11 Aug 2014 13:31:31 -0300 Subject: [PATCH] added support for local configuration --- configs/gvimrc | 4 ++++ configs/vimrc | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/configs/gvimrc b/configs/gvimrc index b97ae27..32819f1 100644 --- a/configs/gvimrc +++ b/configs/gvimrc @@ -13,3 +13,7 @@ else let g:Powerline_symbols = 'fancy' color hybrid endif + +if filereadable(expand("~/.vim/local.gvimrc")) + source ~/.vim/local.gvimrc +endif diff --git a/configs/vimrc b/configs/vimrc index da97a0d..2e31c91 100644 --- a/configs/vimrc +++ b/configs/vimrc @@ -304,3 +304,10 @@ let g:UltiSnipsEditSplit = "horizontal" let g:UltiSnipsExpandTrigger = "" let g:UltiSnipsJumpForwardTrigger = "" let g:UltiSnipsJumpBackwardTrigger = "" + +" ---------------------------------------------------------------------- +" Lastly, load configurations available only to this computer +" ---------------------------------------------------------------------- +if filereadable(expand("~/.vim/local.vim")) + source ~/.vim/local.vim +endif