tpope/vim-pathogen — Issue #45: Plugins load with pathogen, but plugin functions do not work in .vimrc
Author: vsviridov
Created: 2011-10-08 22:59:22+00:00
State: open

I have set up pathogen and do ```call pathogen#infect()``` first in my ```.vimrc```.

If i try to call a plugin function right after - it breaks. But once I get to normal mode I can call same command and they work.

so if I have this in my ```.vimrc``` (and i have the vim-fugitive installed) it doesn't work upon startup

```
call pathogen#infect()
echo fugitive#statusline()
```
but once i get past the error message ```E117: Unknown function: fugitive#statusline``` I can use fugitive's Git commands and ```echo fugitive#statusline()``` works fine