सबसे आसान तरीका एक प्लगइन निष्क्रिय करने के लिए जब आप का उपयोग पैथोजन जोड़ने यह छ बंडल नाम है के द्वारा होता है: pathogen_disabled चर, रोगज़नक़ शुरू करने से पहले।
तो मेरे अपने vimrc
" To disable a plugin, add it's bundle name to the following list
let g:pathogen_disabled = []
" for some reason the csscolor plugin is very slow when run on the terminal
" but not in GVim, so disable it if no GUI is running
if !has('gui_running')
call add(g:pathogen_disabled, 'csscolor')
endif
" Gundo requires at least vim 7.3
if v:version < '703' || !has('python')
call add(g:pathogen_disabled, 'gundo')
endif
if v:version < '702'
call add(g:pathogen_disabled, 'autocomplpop')
call add(g:pathogen_disabled, 'fuzzyfinder')
call add(g:pathogen_disabled, 'l9')
endif
call pathogen#infect()
अद्यतन से एक उदाहरण: एक अन्य विधि, रोगज़नक़ द्वारा समर्थित, बस बंडल आपको लगता है कि यह एक टिल्ड में समाप्त होता है (ताकि अक्षम करना चाहते हैं के लिए निर्देशिका का नाम बदलने का है ~)। तो autocomplpop
बंडल को अक्षम करने के लिए, बस इसे autocomplpop~
पर पुनर्नामित करें।
टिल्डे रणनीति अब काम नहीं कर रही है (संस्करण 2.3 के रूप में)। – echristopherson
@echristopherson यह कम से कम देव शाखा पर, रोगजनक में वापस होना चाहिए। – FDinoff
'2.4' के रूप में यह' g: pathogen_blacklist' बन जाता है। –