vim编辑器保存退出时显示:readonly

在这里插入图片描述
解决方案:
1.Esc键回到一般模式
2.输入:set noreadonly
3.输入:wq保存退出

你可能感兴趣的:(vim编辑器保存退出时显示:readonly)