From: Simon Ruderich Date: Tue, 10 May 2011 20:11:06 +0000 (+0200) Subject: Switch plugins with more than one file to pathogen. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=2cc93b7ada0b925d1ccecfa19a8b3f04cba13f2b Switch plugins with more than one file to pathogen. This stores them in dedicated directory per plugin in vim/bundle/. --- diff --git a/vim/autoload/pathogen.vim b/vim/autoload/pathogen.vim new file mode 100644 index 0000000..e10fac9 --- /dev/null +++ b/vim/autoload/pathogen.vim @@ -0,0 +1,142 @@ +" pathogen.vim - path option manipulation +" Maintainer: Tim Pope +" Version: 1.3 + +" Install in ~/.vim/autoload (or ~\vimfiles\autoload). +" +" API is documented below. + +if exists("g:loaded_pathogen") || &cp + finish +endif +let g:loaded_pathogen = 1 + +" Split a path into a list. +function! pathogen#split(path) abort " {{{1 + if type(a:path) == type([]) | return a:path | endif + let split = split(a:path,'\\\@