From 114ac7fac21f6593a971ddb44f16ed7d8ff874d7 Mon Sep 17 00:00:00 2001 From: jimi Date: Wed, 13 Oct 2010 17:04:21 -0500 Subject: [PATCH] Setup pathogen for plugin management --- autoload/pathogen.vim | 132 ++++++++++++++++++++++++++++++++++++++++++ bundle/.gitkeep | 0 vimrc | 3 + 3 files changed, 135 insertions(+) create mode 100644 autoload/pathogen.vim create mode 100644 bundle/.gitkeep diff --git a/autoload/pathogen.vim b/autoload/pathogen.vim new file mode 100644 index 0000000..8ff5699 --- /dev/null +++ b/autoload/pathogen.vim @@ -0,0 +1,132 @@ +" pathogen.vim - path option manipulation +" Maintainer: Tim Pope +" Version: 1.2 + +" 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,'\\\@