I want to exclude ctrlp.vim plugin from loading by setting the following in my .vimrc:

let g:pathogen_disabled = []
call add(g:pathogen_disabled, 'ctrlp')
call pathogen#infect()

Adding other plugins to pathogen_disabled successfully disables them (vim-airline for example).

ctrlp is still loading. Why?

edit: here is the full .vimrc

  • I believe the name of the plug-in is 'ctrlp.vim' right? If you add that instead, does pathogen disable it properly?
    – filbranden
    May 30 '20 at 14:18
  • 1
    Tried adding the extension, didn’t work. Other plugins get disabled without the extension. May 30 '20 at 18:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.