Browse Source

Use pathogen and load the plugins managed by it at vim startup

Emmanuel Bouthenot 12 years ago
parent
commit
9306b04a82
1 changed files with 10 additions and 0 deletions
  1. 10 0
      .vim/vimrc

+ 10 - 0
.vim/vimrc

@@ -270,3 +270,13 @@ function! CleanClose()
 	exe "bd".todelbufNr
 endfunction
 
+
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" Load pathogen
+"
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+
+if filereadable($HOME . "/.vim/bundle/pathogen/autoload/pathogen.vim")
+    source ~/.vim/bundle/pathogen/autoload/pathogen.vim
+    call pathogen#infect()
+endif