From 2cc93b7ada0b925d1ccecfa19a8b3f04cba13f2b Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 10 May 2011 22:11:06 +0200 Subject: [PATCH] Switch plugins with more than one file to pathogen. This stores them in dedicated directory per plugin in vim/bundle/. --- vim/autoload/pathogen.vim | 142 ++++++++++++++++++ vim/{ => bundle/deb}/autoload/deb.vim | 0 vim/{ => bundle/deb}/plugin/debPlugin.vim | 0 vim/{ => bundle/deb}/syntax/deb.vim | 0 vim/{ => bundle/matchit}/doc/matchit.txt | 0 vim/{ => bundle/matchit}/plugin/matchit.vim | 0 .../nerdcommenter}/doc/NERD_commenter.txt | 0 .../nerdcommenter}/plugin/NERD_commenter.vim | 0 .../screenpaste}/doc/screenpaste.txt | 0 .../screenpaste}/plugin/screenpaste.vim | 0 vim/{ => bundle/surround}/doc/surround.txt | 0 vim/{ => bundle/surround}/plugin/surround.vim | 0 vimrc | 8 + 13 files changed, 150 insertions(+) create mode 100644 vim/autoload/pathogen.vim rename vim/{ => bundle/deb}/autoload/deb.vim (100%) rename vim/{ => bundle/deb}/plugin/debPlugin.vim (100%) rename vim/{ => bundle/deb}/syntax/deb.vim (100%) rename vim/{ => bundle/matchit}/doc/matchit.txt (100%) rename vim/{ => bundle/matchit}/plugin/matchit.vim (100%) rename vim/{ => bundle/nerdcommenter}/doc/NERD_commenter.txt (100%) rename vim/{ => bundle/nerdcommenter}/plugin/NERD_commenter.vim (100%) rename vim/{ => bundle/screenpaste}/doc/screenpaste.txt (100%) rename vim/{ => bundle/screenpaste}/plugin/screenpaste.vim (100%) rename vim/{ => bundle/surround}/doc/surround.txt (100%) rename vim/{ => bundle/surround}/plugin/surround.vim (100%) 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,'\\\@