相关疑难解决方法(0)

保存vimfiles的git commit error

我在nettuts easy git guide关注简单的git指南

我在我的~/目录中初始化了一个空的git实例,然后添加了我.vimrc和我的.vim/文件.

git add .vimrc
git add .vim
Run Code Online (Sandbox Code Playgroud)

但是,当我执行git commit命令时,我最终得到了似乎无关的错误消息.

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' …
Run Code Online (Sandbox Code Playgroud)

git vim

4
推荐指数
1
解决办法
1037
查看次数

标签 统计

git ×1

vim ×1