vimdff cannot read or write temp files

Posted 至浊至愚

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vimdff cannot read or write temp files相关的知识,希望对你有一定的参考价值。

使用diffsplit比较文件时出现这个错误,解决方法是修改_vimrc文件,找到这一行:

if &sh =~ '\\<cmd'

如下图,将单引号修改为双引号即可:

以上是关于vimdff cannot read or write temp files的主要内容,如果未能解决你的问题,请参考以下文章