Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
5ff0f90
install.sh added
Feb 8, 2011
50583fa
install.sh fixed
Feb 8, 2011
307a2df
add command for compile: command-t
Feb 8, 2011
356f4be
refactor.vim added
Feb 8, 2011
d235961
renamec.vim added
Feb 8, 2011
494d5a9
* refactor.vim deleted => errors
webhoernchen Feb 8, 2011
5f1c59f
* add sra
webhoernchen Feb 8, 2011
a3ae9b5
refactor.vim deleted
webhoernchen Feb 8, 2011
8720c16
add install ohmyzsh
Feb 8, 2011
ed6963a
zshrc changed
webhoernchen Feb 10, 2011
5e59947
Merge branch 'master' of github.com:webhoernchen/dotfiles
webhoernchen Feb 10, 2011
2266b1b
Bug fixes
Feb 10, 2011
644a7a4
zshrc edited
Feb 18, 2011
28c266b
modified config for vim and zsh
Mar 8, 2011
3f932f2
Wartung
Mar 31, 2011
a7d9a1b
updates
Mar 31, 2011
0e2e83e
* config improved
Apr 5, 2011
955d507
Merge branch 'master' of git://github.com/mremolt/dotfiles
May 24, 2011
20976b1
Merge branch 'master' of https://github.com/mremolt/dotfiles
Jun 1, 2011
213c63b
* zshrc UPDATE
Aug 13, 2011
6fab32b
* update vim/bundle
Aug 13, 2011
1be7df8
* TMP-Files deleted
Aug 13, 2011
c38be56
* zshrc updated
Aug 15, 2011
13a5e00
Merge branch 'master' of github.com:webhoernchen/dotfiles
Aug 15, 2011
d9b28b7
* Config update
Aug 16, 2011
4266de7
* Update zshrc
Aug 16, 2011
8d71394
* rimrc updated
Aug 16, 2011
3077781
* vim bundle updated
Aug 16, 2011
d499ecd
* Config merged
Aug 16, 2011
af80054
* zshrc updated
Aug 19, 2011
7f4c63d
* updated
Aug 19, 2011
6bbf7a3
* updated
Aug 19, 2011
35478e7
* vim/bundle update
Sep 7, 2011
2f7b20a
* updated zshrc
Sep 13, 2011
f9e9229
* zshrc update
Sep 28, 2011
7c1f6e5
* vim/bundle updated
Oct 4, 2011
461983a
* zshrc verbessert
Nov 1, 2011
99c42c8
* vim/bundle update
Nov 2, 2011
5f98055
vim/bundle update
Nov 15, 2011
49b5184
* use ruby ree for command-t
Nov 17, 2011
43b6f3a
* vim/bundle update
Nov 19, 2011
c2ff4d9
* vim/bundle updated
Dec 9, 2011
d2eefc4
* bundle update
Jan 10, 2012
7c91518
* add submodule tlib to vim/bundle
Jan 11, 2012
4b6f1ef
* vim/bundle update
Jan 17, 2012
5953467
* zshrc update
Jan 17, 2012
fe0d988
* vim/bundle update
Jan 23, 2012
6ab67b1
* vim/bundle update
Jan 27, 2012
efa4dd9
* vimrc fixed
Jan 27, 2012
65ae455
* update_submodules
Jan 27, 2012
a9143f4
* vim/bundle update
Feb 1, 2012
86a775c
* vim/bundle update
Feb 4, 2012
5fb3cd1
* vim/bundle update
Feb 8, 2012
e847e92
* vim/bundle update
Feb 8, 2012
ee86fc7
* vim/bundle update
Feb 14, 2012
f3aac3a
* vim/bundle update
Feb 20, 2012
14be873
* vim/bundle update
Feb 25, 2012
2d514b5
* vim/bundle update
Mar 6, 2012
158cc8a
* vim/bundle update
Mar 14, 2012
d27a296
zshrc fixed
Mar 17, 2012
cf2ea18
zshrc updated
Mar 22, 2012
255e37d
Merge branch 'master' of github.com:webhoernchen/dotfiles
Mar 22, 2012
818f8f1
* vim/bundle update
Mar 28, 2012
47897d4
* zshrc updated
Mar 29, 2012
8c1c682
* vim/bundle update
Apr 5, 2012
2815576
* vim/bundle update
Apr 11, 2012
f11fcd6
* vim/bundle update
Apr 17, 2012
2f15a2f
* vim/bundle update
Apr 20, 2012
ebe77ca
* zshrc update
Apr 23, 2012
fd0250e
* rtf improved
Apr 30, 2012
8091b7e
* vim/bundle update
Apr 30, 2012
ae8350c
* vim/bundle update
May 8, 2012
b37f086
* vim/bundle update
May 9, 2012
d7fdb9f
* vim/bundle update
May 13, 2012
5a4d894
* vim/bundle update
May 18, 2012
ab755e5
* vim/bundle update
May 24, 2012
b97bd64
* vim/bundle update
May 29, 2012
8564026
* vim/bundle update
Jun 18, 2012
207fca7
* vim/bundle update
Jul 14, 2012
e8cc7a2
* zshrc update
Aug 7, 2012
12f8067
* vim/bundle update
Aug 7, 2012
85ec29e
* Installation aktualisiert
Aug 7, 2012
a40aeaf
* zshrc update
Aug 10, 2012
90070d1
* vim/bundle update
Aug 17, 2012
4d799f8
* vim/bundle update
Aug 26, 2012
1584162
* vim/bundle update
Aug 30, 2012
a07d021
* vim/bundle update
Sep 14, 2012
b3ee8fd
* vim/bundle update
Sep 14, 2012
c3ac15a
* vim/bundle update
Sep 14, 2012
a86c8d3
* vim/bundle update
Sep 14, 2012
aaf6c5c
* vim/bundle update
Oct 1, 2012
840aa04
* vim/bundle update
Oct 13, 2012
583f491
* vim/bundle update
Oct 19, 2012
15e72b1
* vim/bundle update
Oct 28, 2012
87aa17c
* vim/bundle update
Nov 7, 2012
2cabd56
* vim/bundle update
Nov 15, 2012
3e76c1e
* vim/bundle update
Nov 21, 2012
2d2fd30
* vim/bundle update
Nov 22, 2012
9f2d2b6
* vim/bundle update
Nov 25, 2012
b57c29a
* vim/bundle update
Dec 4, 2012
24e99ba
* vim/bundle update
Dec 11, 2012
2dabfe9
* Config update
Dec 18, 2012
9715bed
* vim/bundle update
Dec 21, 2012
60b3f5d
* vim/bundle update
Dec 31, 2012
e275936
* vim/bundle update
Jan 3, 2013
8fbde53
* zshrc
Jan 9, 2013
fc09771
* vim/bundle update
Jan 9, 2013
7048890
* vim/bundle update
Jan 15, 2013
76b6735
* vim/bundle update
Jan 21, 2013
172f475
* vim/bundle update
Feb 6, 2013
f9e0c86
* vim/bundle update
Feb 19, 2013
70b69e5
* vim/bundle update
Mar 5, 2013
59c5d7f
* vim/bundle update
Mar 13, 2013
d916506
* vim/bundle update
Mar 17, 2013
23a932f
* vim/bundle update
Mar 25, 2013
5eb7693
Merge branch 'master' of github.com:webhoernchen/dotfiles
Mar 25, 2013
fedae94
* vim/bundle update
Apr 8, 2013
fe2e33e
* update snipmate
Apr 8, 2013
8e1c43c
* vim/bundle update
Apr 8, 2013
a4a86ed
* snipmate deleted
Apr 8, 2013
adebdd9
* snipmate added
Apr 8, 2013
bda0563
* vim/bundle update
Apr 8, 2013
7a0314c
* vim/bundle update
Apr 25, 2013
541658d
* vim/bundle update
May 4, 2013
bf0f464
* vim/bundle update
May 27, 2013
e1d28bc
* vim/bundle update
Jun 6, 2013
daac434
* vim/bundle update
Jun 12, 2013
f403a38
* vim/bundle update
Jul 7, 2013
8588a62
* update
webhoernchen Jul 20, 2013
70029b6
* update pathogen
webhoernchen Jul 20, 2013
48d7912
* update pathogen
webhoernchen Jul 20, 2013
581a41d
* zsh config update
webhoernchen Jul 28, 2013
a2a335b
* REE options modified
Aug 8, 2013
8905a36
* add zsh plugins
Aug 9, 2013
79297ae
* rvm update for zshrc
webhoernchen Aug 17, 2013
dd68b54
Merge branch 'master' of github.com:webhoernchen/dotfiles
webhoernchen Aug 17, 2013
7d6c639
* fixed load rvm
webhoernchen Aug 18, 2013
44141f5
* vim/bundle update
webhoernchen Aug 20, 2013
c06f83a
* vim/bundle update
webhoernchen Sep 19, 2013
f380665
* REE-options changed
webhoernchen Oct 1, 2013
a92167f
* reset_swap
webhoernchen Oct 1, 2013
823483f
* vim/bundle update
webhoernchen Oct 2, 2013
a0b039d
* vim/bundle update
webhoernchen Oct 22, 2013
7f61a94
* vim/bundle update
webhoernchen Nov 18, 2013
0596a0e
* vim/bundle update
webhoernchen Dec 5, 2013
64362de
* vim/bundle update
webhoernchen Dec 16, 2013
17757d4
* RUBY config
webhoernchen Jan 23, 2014
a0d236c
* vim/bundle update
webhoernchen Jan 24, 2014
e87e6ba
* Ruby config
webhoernchen Jan 24, 2014
8dc63aa
* sra fixed
webhoernchen Jan 30, 2014
08e3167
* zshrc updated
webhoernchen Feb 3, 2014
fcee059
* vim/bundle update
webhoernchen Feb 14, 2014
60129fd
* vim/bundle update
webhoernchen Mar 6, 2014
cc5812e
* vim/bundle update
webhoernchen Mar 28, 2014
000d7e7
* vim/bundle update
webhoernchen Apr 13, 2014
1ba2c76
* command-t removed
webhoernchen Apr 23, 2014
57f143e
* command-t removed
webhoernchen Apr 23, 2014
1d88a2e
* command-t added
webhoernchen Apr 23, 2014
00fee38
* vim/bundle update
webhoernchen Apr 23, 2014
a3592f3
* guard config
webhoernchen May 6, 2014
2fe05db
Merge branch 'master' of github.com:webhoernchen/dotfiles
webhoernchen May 6, 2014
53fafa6
Merge branch 'master' of github.com:webhoernchen/dotfiles
webhoernchen May 6, 2014
59a240e
* vim/bundle update
Jul 11, 2014
54155a7
* update
Aug 12, 2014
18ce009
* git changes
webhoernchen Aug 15, 2014
dda8e62
* pipelight-plugin
Aug 18, 2014
0c2ca4e
* git reset
webhoernchen Aug 20, 2014
5ae1497
* git
webhoernchen Sep 4, 2014
3868b60
* zshrc
webhoernchen Sep 4, 2014
e964ed8
* git test config
webhoernchen Sep 15, 2014
a3e4c21
* git and svn commands
webhoernchen Sep 24, 2014
307c0a8
* saa fixed
webhoernchen Nov 11, 2014
0fdc990
* CFLAGS updated
webhoernchen Nov 18, 2014
0d0cbd7
* new project
webhoernchen Nov 25, 2014
91ec132
* bundles updated
webhoernchen Mar 26, 2015
72be87f
* submodule zencoding removed
webhoernchen Mar 26, 2015
1c27f46
* vim/bundle/zencoding removed
webhoernchen Mar 26, 2015
4a557e2
* vim/bundle/emmet vim added
webhoernchen Mar 26, 2015
43ee029
* zshrc
webhoernchen Apr 7, 2015
5599000
* rm tmp files for vbox (apt)
webhoernchen May 26, 2015
572d787
* rm temporary files improved
webhoernchen Jun 9, 2015
a34fba2
* zshrc improved
webhoernchen Jul 3, 2015
eeee685
* time_since_last_commit improved
webhoernchen Aug 12, 2015
67d9e52
* zshrc
webhoernchen Sep 8, 2015
e0043c6
* sra
webhoernchen Oct 16, 2015
e5cb6a6
* sdau fixed
webhoernchen Nov 10, 2015
b669208
* delete not committed files improved
webhoernchen Jan 8, 2016
ab31978
* delete not commited files fixed
webhoernchen Jan 8, 2016
e9f6f27
* commit_and_push added
webhoernchen Sep 30, 2016
e657309
* ruby syntax
webhoernchen Oct 23, 2018
4637a1f
* vimrc fixed
webhoernchen Dec 21, 2018
d77d961
* nvm added
webhoernchen Feb 18, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
[submodule "vim/bundle/fugitive"]
path = vim/bundle/fugitive
url = https://github.com/tpope/vim-fugitive.git
[submodule "vim/bundle/zencoding"]
path = vim/bundle/zencoding
url = https://github.com/mattn/zencoding-vim.git
[submodule "vim/bundle/syntastic"]
path = vim/bundle/syntastic
url = https://github.com/scrooloose/syntastic.git
Expand All @@ -46,12 +43,18 @@
[submodule "vim/snippets/django"]
path = vim/snippets/django
url = https://github.com/robhudson/snipmate_for_django.git
[submodule "vim/bundle/snipmate"]
path = vim/bundle/snipmate
url = git://github.com/MarcWeber/snipmate.vim.git
[submodule "vim/bundle/addon-mw-utils"]
path = vim/bundle/addon-mw-utils
url = git://github.com/MarcWeber/vim-addon-mw-utils.git
[submodule "vim/bundle/coffee-script"]
path = vim/bundle/coffee-script
url = git://github.com/kchmck/vim-coffee-script.git
[submodule "vim/bundle/tlib_vim"]
path = vim/bundle/tlib_vim
url = https://github.com/tomtom/tlib_vim.git
[submodule "vim/bundle/snipmate"]
path = vim/bundle/snipmate
url = git://github.com/garbas/vim-snipmate.git
[submodule "vim/bundle/emmet"]
path = vim/bundle/emmet
url = https://github.com/mattn/emmet-vim.git
Binary file added .gvimrc.un~
Binary file not shown.
Binary file added .vimrc.un~
Binary file not shown.
1 change: 1 addition & 0 deletions config/terminator/config
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[keybindings]
[profiles]
[[default]]
scrollback_lines = 3000
[layouts]
[[default]]
[[[child0]]]
Expand Down
7 changes: 5 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@ ln -sf $(pwd)/vim ~/.vim
ln -sf $(pwd)/zsh ~/.zsh

cd vim/bundle/command-t
rvm use system
rake make
cd ruby/command-t
#rvm use system
rvm use ree --default
ruby extconf.rb
make
8 changes: 8 additions & 0 deletions vim/.netrwhist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =6
let g:netrw_dirhist_1='/home/ceichhor/svn_projects/2115_links_im_newsletter_berichtigenOF'
let g:netrw_dirhist_2='/home/ceichhor/svn_projects/waportal'
let g:netrw_dirhist_3='/home/ceichhor/svn_projects/2093_box_aktuelle_kurse'
let g:netrw_dirhist_4='/home/ceichhor/svn_projects/waportal'
let g:netrw_dirhist_5='/home/ceichhor/svn_projects/2093_box_aktuelle_kurse'
let g:netrw_dirhist_6='/home/ceichhor/svn_projects/waportal'
246 changes: 215 additions & 31 deletions vim/autoload/pathogen.vim
Original file line number Diff line number Diff line change
@@ -1,16 +1,50 @@
" pathogen.vim - path option manipulation
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" Version: 1.3
" Maintainer: Tim Pope <http://tpo.pe/>
" Version: 2.2

" Install in ~/.vim/autoload (or ~\vimfiles\autoload).
"
" API is documented below.
" For management of individually installed plugins in ~/.vim/bundle (or
" ~\vimfiles\bundle), adding `execute 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)
echohl WarningMsg
echomsg a:msg
echohl NONE
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
Expand Down Expand Up @@ -55,8 +89,11 @@ function! pathogen#uniq(list) abort " {{{1
let i = 0
let seen = {}
while i < len(a:list)
if has_key(seen,a:list[i])
if (a:list[i] ==# '' && exists('empty')) || has_key(seen,a:list[i])
call remove(a:list,i)
elseif a:list[i] ==# ''
let i += 1
let empty = 1
else
let seen[a:list[i]] = 1
let i += 1
Expand All @@ -81,62 +118,209 @@ function! pathogen#glob_directories(pattern) abort " {{{1
return filter(pathogen#glob(a:pattern),'isdirectory(v:val)')
endfunction "}}}1

" Checks if a bundle is 'disabled'. A bundle is considered 'disabled' if
" its 'basename()' is included in g:pathogen_disabled[]'.
" Turn filetype detection off and back on again if it was already enabled.
function! pathogen#cycle_filetype() " {{{1
if exists('g:did_load_filetypes')
filetype off
filetype on
endif
endfunction " }}}1

" Check if a bundle is disabled. A bundle is considered disabled if it ends
" in a tilde or its basename or full name is included in the list
" g:pathogen_disabled.
function! pathogen#is_disabled(path) " {{{1
if !exists("g:pathogen_disabled")
if a:path =~# '\~$'
return 1
elseif !exists("g:pathogen_disabled")
return 0
endif
let sep = pathogen#separator()
return index(g:pathogen_disabled, strpart(a:path, strridx(a:path, sep)+1)) != -1
let blacklist = g:pathogen_disabled
return index(blacklist, strpart(a:path, strridx(a:path, sep)+1)) != -1 && index(blacklist, a:path) != 1
endfunction "}}}1

" Prepend all subdirectories of path to the rtp, and append all 'after'
" directories in those subdirectories.
function! pathogen#runtime_prepend_subdirectories(path) " {{{1
let sep = pathogen#separator()
let before = filter(pathogen#glob_directories(a:path.sep."*[^~]"), '!pathogen#is_disabled(v:val)')
let after = filter(pathogen#glob_directories(a:path.sep."*[^~]".sep."after"), '!pathogen#is_disabled(v:val[0:-7])')
" Prepend the given directory to the runtime path and append its corresponding
" after directory. If the directory is already included, move it to the
" outermost position. Wildcards are added as is. Ending a path in /{} causes
" all subdirectories to be added (except those in g:pathogen_disabled).
function! pathogen#surround(path) abort " {{{1
let sep = pathogen#separator()
let rtp = pathogen#split(&rtp)
let path = expand(a:path)
call filter(rtp,'v:val[0:strlen(path)-1] !=# path')
let &rtp = pathogen#join(pathogen#uniq(before + rtp + after))
if a:path =~# '[\\/]{}$'
let path = fnamemodify(a:path[0:-4], ':p:s?[\\/]\=$??')
let before = filter(pathogen#glob_directories(path.sep.'*'), '!pathogen#is_disabled(v:val)')
let after = filter(reverse(pathogen#glob_directories(path.sep."*".sep."after")), '!pathogen#is_disabled(v:val[0:-7])')
call filter(rtp,'v:val[0:strlen(path)-1] !=# path')
else
let path = fnamemodify(a:path, ':p:s?[\\/]\=$??')
let before = [path]
let after = [path . sep . 'after']
call filter(rtp, 'index(before + after, v:val) == -1')
endif
let &rtp = pathogen#join(before, rtp, after)
return &rtp
endfunction " }}}1

" For each directory in rtp, check for a subdirectory named dir. If it
" exists, add all subdirectories of that subdirectory to the rtp, immediately
" after the original directory. If no argument is given, 'bundle' is used.
" Repeated calls with the same arguments are ignored.
function! pathogen#runtime_append_all_bundles(...) " {{{1
" Prepend all subdirectories of path to the rtp, and append all 'after'
" directories in those subdirectories. Deprecated.
function! pathogen#runtime_prepend_subdirectories(path) " {{{1
call s:warn('Change pathogen#runtime_prepend_subdirectories('.string(a:path).') to pathogen#surround('.string(a:path.'/{}').')')
return pathogen#surround(a:path . pathogen#separator() . '{}')
endfunction " }}}1

" For each directory in the runtime path, add a second entry with the given
" argument appended. If the argument ends in '/{}', add a separate entry for
" each subdirectory. The default argument is 'bundle/{}', which means that
" .vim/bundle/*, $VIM/vimfiles/bundle/*, $VIMRUNTIME/bundle/*,
" $VIM/vim/files/bundle/*/after, and .vim/bundle/*/after will be added (on
" UNIX).
function! pathogen#incubate(...) abort " {{{1
let sep = pathogen#separator()
let name = a:0 ? a:1 : 'bundle'
let name = a:0 ? a:1 : 'bundle/{}'
if "\n".s:done_bundles =~# "\\M\n".name."\n"
return ""
endif
let s:done_bundles .= name . "\n"
let list = []
for dir in pathogen#split(&rtp)
if dir =~# '\<after$'
let list += filter(pathogen#glob_directories(substitute(dir,'after$',name,'').sep.'*[^~]'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
if name =~# '{}$'
let list += filter(pathogen#glob_directories(substitute(dir,'after$',name[0:-3],'').'*'.sep.'after'), '!pathogen#is_disabled(v:val[0:-7])') + [dir]
else
let list += [dir, substitute(dir, 'after$', '', '') . name . sep . 'after']
endif
else
let list += [dir] + filter(pathogen#glob_directories(dir.sep.name.sep.'*[^~]'), '!pathogen#is_disabled(v:val)')
if name =~# '{}$'
let list += [dir] + filter(pathogen#glob_directories(dir.sep.name[0:-3].'*'), '!pathogen#is_disabled(v:val)')
else
let list += [dir . sep . name, dir]
endif
endif
endfor
let &rtp = pathogen#join(pathogen#uniq(list))
return 1
endfunction " }}}1

" Deprecated alias for pathogen#incubate().
function! pathogen#runtime_append_all_bundles(...) abort " {{{1
if a:0
call s:warn('Change pathogen#runtime_append_all_bundles('.string(a:1).') to pathogen#incubate('.string(a:1.'/{}').')')
else
call s:warn('Change pathogen#runtime_append_all_bundles() to pathogen#incubate()')
endif
return call('pathogen#incubate', map(copy(a:000),'v:val . "/{}"'))
endfunction

let s:done_bundles = ''
" }}}1

" Invoke :helptags on all non-$VIM doc directories in runtimepath.
function! pathogen#helptags() " {{{1
for dir in pathogen#split(&rtp)
if dir[0 : strlen($VIM)-1] !=# $VIM && isdirectory(dir.'/doc') && !empty(glob(dir.'/doc/*')) && (!filereadable(dir.'/doc/tags') || filewritable(dir.'/doc/tags'))
helptags `=dir.'/doc'`
endif
function! pathogen#helptags() abort " {{{1
let sep = pathogen#separator()
for glob in pathogen#split(&rtp)
for dir in split(glob(glob), "\n")
if (dir.sep)[0 : strlen($VIMRUNTIME)] !=# $VIMRUNTIME.sep && filewritable(dir.sep.'doc') == 2 && !empty(filter(split(glob(dir.sep.'doc'.sep.'*'),"\n>"),'!isdirectory(v:val)')) && (!filereadable(dir.sep.'doc'.sep.'tags') || filewritable(dir.sep.'doc'.sep.'tags'))
silent! execute 'helptags' pathogen#fnameescape(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

" vim:set ft=vim ts=8 sw=2 sts=2:
" 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(<count>,'edit<bang>',<q-args>,0)
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vedit :execute s:find(<count>,'edit<bang>',<q-args>,0)
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vopen :execute s:find(<count>,'edit<bang>',<q-args>,1)
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vsplit :execute s:find(<count>,'split',<q-args>,<bang>1)
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vvsplit :execute s:find(<count>,'vsplit',<q-args>,<bang>1)
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vtabedit :execute s:find(<count>,'tabedit',<q-args>,<bang>1)
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vpedit :execute s:find(<count>,'pedit',<q-args>,<bang>1)
command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vread :execute s:find(<count>,'read',<q-args>,<bang>1)

" vim:set et sw=2:
2 changes: 1 addition & 1 deletion vim/bundle/ack
2 changes: 1 addition & 1 deletion vim/bundle/command-t
Submodule command-t updated from 54b5be to 13760a
1 change: 1 addition & 0 deletions vim/bundle/emmet
Submodule emmet added at 1c46c5
2 changes: 1 addition & 1 deletion vim/bundle/endwise
2 changes: 1 addition & 1 deletion vim/bundle/fugitive
2 changes: 1 addition & 1 deletion vim/bundle/nerdcommenter
2 changes: 1 addition & 1 deletion vim/bundle/nerdtree
2 changes: 1 addition & 1 deletion vim/bundle/rails
Submodule rails updated 7 files
+16 −0 CONTRIBUTING.markdown
+0 −10 README
+119 −0 README.markdown
+0 −56 Rakefile
+2,076 −1,902 autoload/rails.vim
+402 −625 doc/rails.txt
+53 −265 plugin/rails.vim
2 changes: 1 addition & 1 deletion vim/bundle/repeat
Submodule repeat updated 2 files
+54 −0 README.markdown
+72 −11 autoload/repeat.vim
2 changes: 1 addition & 1 deletion vim/bundle/snipmate
Submodule snipmate updated 54 files
+2 −1 .gitignore
+47 −0 Contributors.md
+155 −0 README.md
+0 −209 README.rst
+3 −3 addon-info.json
+40 −34 after/plugin/snipMate.vim
+501 −581 autoload/snipMate.vim
+11 −5 autoload/snipMate_python_demo.vim
+205 −0 autoload/snipmate/jumping.vim
+131 −0 autoload/snipmate/legacy.vim
+219 −0 autoload/snipmate/parse.vim
+22 −0 autoload/snipmate/util.vim
+595 −0 doc/SnipMate.txt
+0 −331 doc/snipMate.txt
+1 −1 ftplugin/html_snip_helper.vim
+0 −8 ftplugin/snippet.vim
+20 −0 ftplugin/snippets.vim
+32 −0 indent/snippets.vim
+109 −197 plugin/snipMate.vim
+0 −2 plugin/snipMateInterface.vim
+0 −11 snippets/_.snippets
+0 −135 snippets/actionscript.snippets
+0 −66 snippets/autoit.snippets
+0 −134 snippets/c.snippets
+0 −58 snippets/cmake.snippets
+0 −58 snippets/cpp.snippets
+0 −11 snippets/diff.snippets
+0 −108 snippets/django.snippets
+0 −39 snippets/erlang.snippets
+0 −110 snippets/falcon.snippets
+0 −244 snippets/html.snippets
+0 −126 snippets/htmldjango.snippets
+0 −144 snippets/java.snippets
+0 −102 snippets/javascript.snippets
+0 −54 snippets/mako.snippets
+0 −7 snippets/markdown.snippets
+0 −247 snippets/objc.snippets
+0 −97 snippets/perl.snippets
+0 −240 snippets/php.snippets
+0 −58 snippets/progress.snippets
+0 −122 snippets/python.snippets
+0 −22 snippets/rst.snippets
+0 −523 snippets/ruby.snippets
+0 −28 snippets/sh.snippets
+0 −9 snippets/snippet.snippets
+0 −92 snippets/tcl.snippets
+0 −153 snippets/tex.snippets
+0 −34 snippets/vim.snippets
+0 −58 snippets/zsh.snippets
+2 −12 syntax/snippet.vim
+23 −0 syntax/snippets.vim
+175 −0 t/jumping.vim
+116 −0 t/parser.vim
+20 −0 t/tests.sh
Loading