对于当前用户,可以运行以下命令删除 .viminfo 文件: bash rm -f ~/.viminfo 如果问题出现在使用 sudo vim 编辑文件时,可能是根用户(root)的 .viminfo 文件损坏,需要删除根用户的 .viminfo 文件: bash sudo rm /root/.viminfo 重新启动 Vim: 删除.viminfo 文件后,重新启动 Vim,Vim 会创建一个新的 .vi...
EN如何修复vi编辑器中的E576错误:viminfo: Missing ='>一行??近些年伴随着苹果生态的蓬勃发展,越来...
This means there is an error in the viminfo file, maybe due to a bug. Whatever the reason be, you can try to delete the file $HOME/.viminfo and start vim again. You will lose some information about recent history and usage, anyway 分享到: vim几个有用的命令 | 该整理一下了…… ...