更新Janus Vim分发后,使用Vim进行提交消息时似乎出现了问题。最好的例子就是在执行git pull
以获取别人的更改时。Vim编辑器被显示出来,我输入我的提交消息,然后输入:wq,但提交没有生效,我收到以下错误消息:
error: There was a problem with the editor 'vi'.
Not committing merge; use 'git commit' to complete the merge.
我之后必须手动提交 :(
如何让git与vim友好共处?