From d7bc67f8cb41f00ff3ec03e5fd8f6afe5f2b59ca Mon Sep 17 00:00:00 2001 From: johannst Date: Sat, 30 Nov 2019 11:43:06 +0000 Subject: bootstrap vundle in vimrc instead installer --- vimrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 1c659f1..db3682c 100644 --- a/vimrc +++ b/vimrc @@ -12,6 +12,17 @@ endif nnoremap ev :edit ~/.vimrc nnoremap sv :source ~/.vimrc +"{{{ Vundle bootstrap + +let s:needBootstrapVundle=0 +if !filereadable(expand('$VIMHOME/bundle/Vundle.vim/README.md')) + echo "Installing Vundle...\n" + silent !mkdir -p $VIMHOME/bundle + silent !git clone https://github.com/VundleVim/Vundle.vim.git $VIMHOME/bundle/Vundle.vim + let s:needBootstrapVundle=1 +endif + +"}}} "{{{ Plugin Management " to install plugins open vim and run :PluginInstall from within vim OR @@ -45,6 +56,10 @@ Plugin 'chriskempson/base16-vim' call vundle#end() +if s:needBootstrapVundle == 1 + :PluginUpdate +endif + "}}} "{{{ Plugin Config -- cgit v1.2.3