execute pathogen#infect() an invalid expression?
I am in a Mac OS and I just added some scripts to get new functionality from my vim editor and when I go back into the vimrc file I continue to get this error:
vim ~/.vimrc Error detected while processing /Users/danale/.vimrc: line 12: E117: Unknown function: pathogen#infect E15: Invalid expression: pathogen#infect()
I have looked at similar posts here that are not very helpful. Ultimately, I would like to use nerdtree configuration so I can use VIM as my IDE.
Is Pathogen in the right PATH?
I have the same issue,because I use wget to download: in pathogen.vim, it includes some html tags. you can fix it on this way: git clone https://github.com/tpope/vim-pathogen cp /root/vim-pathogen/autoload/pathogen.vim /root/.vim/autoload/