Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Errors detected when loading a vim plugin from .vimrc

I have installed vim 7.3 on debian system along with some vimrc i have downloaded from internet. It used to work fine on my other debian machine but here i get these error messages while i load the vim editor.

Here are the errors:

Error detected while processing /home/tejinder/.vim/plugin/gundo.vim:
line  196:
E319: Sorry, the command is not available in this version: python << ENDPYTHON
line  197:
E492: Not an editor command: def asciiedges(seen, rev, parents):
line  199:
E121: Undefined variable: rev
E15: Invalid expression: rev not in seen:
line  221:
E133: :return not inside a function
line  231:
E133: :return not inside a function
line  233:
E133: :return not inside a function
line  235:
E133: :return not inside a function
line  238:
E690: Missing "in" after :for
line  347:
E690: Missing "in" after :for
line  356:
E690: Missing "in" after :for
line  453:
E690: Missing "in" after :for
line  464:
E690: Missing "in" after :for
line  469:
E133: :return not inside a function
line  795:
E170: Missing :endfor
Press ENTER or type command to continue

If anyone could figure out thats going on, please guide me. Thanks a lot.

Here is vimrc source: https://github.com/mitsuhiko/dotfiles/tree/master/vim

like image 676
Tejinder Avatar asked Dec 13 '22 16:12

Tejinder


1 Answers

On debian install vim-gnome or vim-nox if you dont have X-server on system.

$ sudo apt-get install vim-nox

These versions include python support for vim.

like image 74
Pokutnik Avatar answered Jan 13 '23 16:01

Pokutnik