mac vim编辑器保存时E212: Can‘t open file for writing

例如输入vi ~/.bash_profile时返回该错误则直接在终端输入 open ~/.bash_profile 指令后输入需要添加的内容直接保存文件即可完成修改。

你可能感兴趣的:(macos,vim)