Daniel
Daniel

Reputation: 15393

Added new scripts for vim functionality that is not working

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.

If I hit enter anyway, I get this error:

Error detected while processing VimEnter Auto commands for "*":
E492: Not an editor command:  NERDTree | endif

and it does not take me to a nerdtree type of view just an empty welcome to vim view.

Upvotes: 0

Views: 62

Answers (1)

Andy Ray
Andy Ray

Reputation: 32056

You need to install pathogen.

Upvotes: 2

Related Questions