From 1212a9d32dbc809bcce679b9d36f3a233af3193e Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Fri, 21 Aug 2015 03:14:10 -0700 Subject: Switch to stow --- .vim/autoload/pathogen.vim | 328 ------------------------------------ .vim/bundle/ctrlp.vim | 1 - .vim/bundle/julia-vim | 1 - .vim/bundle/molokai | 1 - .vim/bundle/nerdtree | 1 - .vim/bundle/pig.vim | 1 - .vim/bundle/python-mode | 1 - .vim/bundle/rainbow_parentheses.vim | 1 - .vim/bundle/sessionman.vim | 1 - .vim/bundle/tagbar | 1 - .vim/bundle/vim-fugitive | 1 - .vim/bundle/vim-ipython | 1 - .vim/bundle/vim-surround | 1 - .vim/bundle/vimwiki | 1 - .vim/pig.vim | 1 - 15 files changed, 342 deletions(-) delete mode 100644 .vim/autoload/pathogen.vim delete mode 160000 .vim/bundle/ctrlp.vim delete mode 160000 .vim/bundle/julia-vim delete mode 160000 .vim/bundle/molokai delete mode 160000 .vim/bundle/nerdtree delete mode 160000 .vim/bundle/pig.vim delete mode 160000 .vim/bundle/python-mode delete mode 160000 .vim/bundle/rainbow_parentheses.vim delete mode 160000 .vim/bundle/sessionman.vim delete mode 160000 .vim/bundle/tagbar delete mode 160000 .vim/bundle/vim-fugitive delete mode 160000 .vim/bundle/vim-ipython delete mode 160000 .vim/bundle/vim-surround delete mode 160000 .vim/bundle/vimwiki delete mode 160000 .vim/pig.vim (limited to '.vim') diff --git a/.vim/autoload/pathogen.vim b/.vim/autoload/pathogen.vim deleted file mode 100644 index 16c21fe..0000000 --- a/.vim/autoload/pathogen.vim +++ /dev/null @@ -1,328 +0,0 @@ -" pathogen.vim - path option manipulation -" Maintainer: Tim Pope -" Version: 2.2 - -" Install in ~/.vim/autoload (or ~\vimfiles\autoload). -" -" For management of individually installed plugins in ~/.vim/bundle (or -" ~\vimfiles\bundle), adding `call pathogen#infect()` to the top of your -" .vimrc is the only other setup necessary. -" -" The API is documented inline below. For maximum ease of reading, -" :set foldmethod=marker - -if exists("g:loaded_pathogen") || &cp - finish -endif -let g:loaded_pathogen = 1 - -function! s:warn(msg) - if &verbose - echohl WarningMsg - echomsg a:msg - echohl NONE - endif -endfunction - -" Point of entry for basic default usage. Give a relative path to invoke -" pathogen#incubate() (defaults to "bundle/{}"), or an absolute path to invoke -" pathogen#surround(). For backwards compatibility purposes, a full path that -" does not end in {} or * is given to pathogen#runtime_prepend_subdirectories() -" instead. -function! pathogen#infect(...) abort " {{{1 - for path in a:0 ? reverse(copy(a:000)) : ['bundle/{}'] - if path =~# '^[^\\/]\+$' - call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')') - call pathogen#incubate(path . '/{}') - elseif path =~# '^[^\\/]\+[\\/]\%({}\|\*\)$' - call pathogen#incubate(path) - elseif path =~# '[\\/]\%({}\|\*\)$' - call pathogen#surround(path) - else - call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')') - call pathogen#surround(path . '/{}') - endif - endfor - call pathogen#cycle_filetype() - return '' -endfunction " }}}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,'\\\@"),'!isdirectory(v:val)')) && (!filereadable(dir.sep.'doc'.sep.'tags') || filewritable(dir.sep.'doc'.sep.'tags')) - helptags `=dir.'/doc'` - endif - endfor - endfor -endfunction " }}}1 - -command! -bar Helptags :call pathogen#helptags() - -" Execute the given command. This is basically a backdoor for --remote-expr. -function! pathogen#execute(...) abort " {{{1 - for command in a:000 - execute command - endfor - return '' -endfunction " }}}1 - -" Like findfile(), but hardcoded to use the runtimepath. -function! pathogen#runtime_findfile(file,count) abort "{{{1 - let rtp = pathogen#join(1,pathogen#split(&rtp)) - let file = findfile(a:file,rtp,a:count) - if file ==# '' - return '' - else - return fnamemodify(file,':p') - endif -endfunction " }}}1 - -" Backport of fnameescape(). -function! pathogen#fnameescape(string) abort " {{{1 - if exists('*fnameescape') - return fnameescape(a:string) - elseif a:string ==# '-' - return '\-' - else - return substitute(escape(a:string," \t\n*?[{`$\\%#'\"|!<"),'^[+>]','\\&','') - endif -endfunction " }}}1 - -if exists(':Vedit') - finish -endif - -let s:vopen_warning = 0 - -function! s:find(count,cmd,file,lcd) " {{{1 - let rtp = pathogen#join(1,pathogen#split(&runtimepath)) - let file = pathogen#runtime_findfile(a:file,a:count) - if file ==# '' - return "echoerr 'E345: Can''t find file \"".a:file."\" in runtimepath'" - endif - if !s:vopen_warning - let s:vopen_warning = 1 - let warning = '|echohl WarningMsg|echo "Install scriptease.vim to continue using :V'.a:cmd.'"|echohl NONE' - else - let warning = '' - endif - if a:lcd - let path = file[0:-strlen(a:file)-2] - execute 'lcd `=path`' - return a:cmd.' '.pathogen#fnameescape(a:file) . warning - else - return a:cmd.' '.pathogen#fnameescape(file) . warning - endif -endfunction " }}}1 - -function! s:Findcomplete(A,L,P) " {{{1 - let sep = pathogen#separator() - let cheats = { - \'a': 'autoload', - \'d': 'doc', - \'f': 'ftplugin', - \'i': 'indent', - \'p': 'plugin', - \'s': 'syntax'} - if a:A =~# '^\w[\\/]' && has_key(cheats,a:A[0]) - let request = cheats[a:A[0]].a:A[1:-1] - else - let request = a:A - endif - let pattern = substitute(request,'/\|\'.sep,'*'.sep,'g').'*' - let found = {} - for path in pathogen#split(&runtimepath) - let path = expand(path, ':p') - let matches = split(glob(path.sep.pattern),"\n") - call map(matches,'isdirectory(v:val) ? v:val.sep : v:val') - call map(matches,'expand(v:val, ":p")[strlen(path)+1:-1]') - for match in matches - let found[match] = 1 - endfor - endfor - return sort(keys(found)) -endfunction " }}}1 - -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Ve :execute s:find(,'edit',,0) -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vedit :execute s:find(,'edit',,0) -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vopen :execute s:find(,'edit',,1) -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vsplit :execute s:find(,'split',,1) -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vvsplit :execute s:find(,'vsplit',,1) -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vtabedit :execute s:find(,'tabedit',,1) -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vpedit :execute s:find(,'pedit',,1) -command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vread :execute s:find(,'read',,1) - -" vim:set et sw=2: diff --git a/.vim/bundle/ctrlp.vim b/.vim/bundle/ctrlp.vim deleted file mode 160000 index b5d3fe6..0000000 --- a/.vim/bundle/ctrlp.vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b5d3fe66a58a13d2ff8b6391f4387608496a030f diff --git a/.vim/bundle/julia-vim b/.vim/bundle/julia-vim deleted file mode 160000 index 84815ce..0000000 --- a/.vim/bundle/julia-vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 84815cec6c0c277297f2557d563550a0e7e25f5a diff --git a/.vim/bundle/molokai b/.vim/bundle/molokai deleted file mode 160000 index db8ce13..0000000 --- a/.vim/bundle/molokai +++ /dev/null @@ -1 +0,0 @@ -Subproject commit db8ce13b3737d3ddea8368498183d7c204a762eb diff --git a/.vim/bundle/nerdtree b/.vim/bundle/nerdtree deleted file mode 160000 index bcf3de4..0000000 --- a/.vim/bundle/nerdtree +++ /dev/null @@ -1 +0,0 @@ -Subproject commit bcf3de4fdffae45fc7c85b6b84a01b37177924aa diff --git a/.vim/bundle/pig.vim b/.vim/bundle/pig.vim deleted file mode 160000 index 4157cac..0000000 --- a/.vim/bundle/pig.vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4157cac950c49ca6fb59f1dec2a41f2df90a92e1 diff --git a/.vim/bundle/python-mode b/.vim/bundle/python-mode deleted file mode 160000 index c6a872a..0000000 --- a/.vim/bundle/python-mode +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c6a872a64530979f4aac46d765c577581cb7fc36 diff --git a/.vim/bundle/rainbow_parentheses.vim b/.vim/bundle/rainbow_parentheses.vim deleted file mode 160000 index eb8baa5..0000000 --- a/.vim/bundle/rainbow_parentheses.vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit eb8baa5428bde10ecc1cb14eed1d6e16f5f24695 diff --git a/.vim/bundle/sessionman.vim b/.vim/bundle/sessionman.vim deleted file mode 160000 index 845d35b..0000000 --- a/.vim/bundle/sessionman.vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 845d35b84c5c51f631d8bfa4afe3edc126102ba9 diff --git a/.vim/bundle/tagbar b/.vim/bundle/tagbar deleted file mode 160000 index 7b36c46..0000000 --- a/.vim/bundle/tagbar +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7b36c46d17d57db34fdb0adac9ba6382d0bb5e66 diff --git a/.vim/bundle/vim-fugitive b/.vim/bundle/vim-fugitive deleted file mode 160000 index b319b69..0000000 --- a/.vim/bundle/vim-fugitive +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b319b694539017dcd789dc2c42f784a30d7b28b8 diff --git a/.vim/bundle/vim-ipython b/.vim/bundle/vim-ipython deleted file mode 160000 index 42499f0..0000000 --- a/.vim/bundle/vim-ipython +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 42499f094b805b90b683afa5009cee99abd0bb75 diff --git a/.vim/bundle/vim-surround b/.vim/bundle/vim-surround deleted file mode 160000 index 2d05440..0000000 --- a/.vim/bundle/vim-surround +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2d05440ad23f97a7874ebd9b5de3a0e65d25d85c diff --git a/.vim/bundle/vimwiki b/.vim/bundle/vimwiki deleted file mode 160000 index cb5c38a..0000000 --- a/.vim/bundle/vimwiki +++ /dev/null @@ -1 +0,0 @@ -Subproject commit cb5c38a575bcdffa52747aef962dc9d61c7a8207 diff --git a/.vim/pig.vim b/.vim/pig.vim deleted file mode 160000 index 4157cac..0000000 --- a/.vim/pig.vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4157cac950c49ca6fb59f1dec2a41f2df90a92e1 -- cgit v1.2.3-70-g09d2