Skip to content

Commit 9aeeb9d

Browse files
committed
This hack lets people easily disable vim plugins
without needing to abandon the sharpsaw dots repos.
1 parent 7583add commit 9aeeb9d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.vimrc

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
" You can disable installed vim plugins by putting them in this env var:
2+
let g:pathogen_disabled = []
3+
for disable in split(expand("$VIM_PATHOGEN_DISABLE"), ' ')
4+
call add(g:pathogen_disabled, disable)
5+
endfor
6+
17
call pathogen#infect()
28

39
" Loop over every ~/.../src/* repo and source their .vimrc

0 commit comments

Comments
 (0)