Run Vim on Ubuntu:E117: Unknown function: pathogen#infect

1.3k views Asked by At

I have a simple .vimrc file. It is 3 lines in its entirety:

execute pathogen#infect()
syntax on
filetype plugin indent on

When I try to start vim, though, I get the following error message:

Error detected while processing /home/simoonp/.vimrc:
line    1:
E117: Unknown function: pathogen#infect
E15: Invalid expression: pathogen#infect()

I searched many means , but the question hasn't been solved.

0

There are 0 answers