From 5ada5c57bcb57860e0714a3071527f9ba59f2503 Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Mon, 29 Nov 2010 23:18:09 +1000 Subject: [PATCH] Start my own vim files with latest pathogen --- Rakefile | 5 +- vim/autoload/pathogen.vim | 143 +++++++++++++++++++++++++++++++++++ vim/{gvimrc.local => gvimrc} | 10 +-- vim/{vimrc.local => vimrc} | 0 4 files changed, 151 insertions(+), 7 deletions(-) create mode 100644 vim/autoload/pathogen.vim rename vim/{gvimrc.local => gvimrc} (67%) rename vim/{vimrc.local => vimrc} (100%) diff --git a/Rakefile b/Rakefile index fcac8ee..ef4df93 100644 --- a/Rakefile +++ b/Rakefile @@ -18,8 +18,9 @@ task :install do git/gitconfig git/gitignore git/gitattributes - vim/gvimrc.local - vim/vimrc.local) + vim + vim/gvimrc + vim/vimrc) files.each do |file| file_name = file.split(/\//).last diff --git a/vim/autoload/pathogen.vim b/vim/autoload/pathogen.vim new file mode 100644 index 0000000..3ed891b --- /dev/null +++ b/vim/autoload/pathogen.vim @@ -0,0 +1,143 @@ +" 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,'\\\@ -endif " Mac OS X style command line editing cnoremap cnoremap + +if has("gui_macvim") + " macmenu Window.Toggle\ Full\ Screen\ Mode key= + set transparency=12 +endif diff --git a/vim/vimrc.local b/vim/vimrc similarity index 100% rename from vim/vimrc.local rename to vim/vimrc