I am following the easy git guide at nettuts easy git guide
I initialised an empty git instance in my ~/
directory and then added my .vimrc
and my .vim/
files.
git add .vimrc
git add .vim
However when I do the git commit
command I end up with what seems unrelated error messages.
sayth@linux-kt34:~> git commit
Error detected while processing /home/sayth/.vimrc:
line 203:
E319: Sorry, the command is not available in this version: py << EOF
line 204:
E492: Not an editor command: import os.path
line 205:
E492: Not an editor command: import sys
line 206:
E492: Not an editor command: import vim
line 207:
E15: Invalid expression: 'VIRTUAL_ENV' in os.environ:
line 224:
E171: Missing :endif
Press ENTER or type command to continue
If I press enter I get taken to a file. What am I doing wrong with this.
EDIT: have removed virtualenv ref from .vimrc
. Never noticed the error because i was using gvim which never dislpayed the error.