.vim/autoload/vimrc.vim

changeset 725
6ff8e3f73482
parent 641
60b56bbfc143
child 728
60df63f03873
--- a/.vim/autoload/vimrc.vim
+++ b/.vim/autoload/vimrc.vim
@@ -30,26 +30,3 @@ func! vimrc#AutoSessionConfig() abort
     exec 'UniteSessionLoad ' . tolower(v:servername)
   endif
 endfunc
-
-func! vimrc#VundleInstallAndBegin() abort
-  let bundlepath = g:myvim . '/bundle'
-
-  if !filereadable(bundlepath . '/vundle/README.md')
-    if !executable('git')
-      echo "Can't autoinstall Vundle without git"
-      return
-    endif
-
-    if !isdirectory(bundlepath)
-      call mkdir(bundlepath, 'p')
-    endif
-    exec 'cd ' . bundlepath
-    silent !git clone --depth 1 https://github.com/gmarik/vundle
-    cd -
-
-    echo "Installed Vundle, run :PluginInstall if desired"
-  endif
-
-  let &runtimepath .= ',' . bundlepath . '/vundle'
-  call vundle#begin(bundlepath)
-endfunc

mercurial