在操作系统升级 (Linux) 期间,Vim 或其某些部分也已更新。
现在,有时当我保存文件(文件未保存)时,我会收到此错误:
E21:无法进行更改,“可修改”已关闭
我做:help E21了,手册上说:
{not in Vi} *E21*
When off the buffer contents cannot be changed. The 'fileformat' and
'fileencoding' options also can't be changed.
Can be reset with the |-M| command line argument.
Run Code Online (Sandbox Code Playgroud)
我不清楚这意味着什么。我以通常的方式使用和启动编辑器,没有任何改变。工作流程也是一样的。我打开不同的窗口CTLR-W N,然后在那里加载和编辑文件并在窗口之间切换等。
我想知道如何禁用此行为以及副作用。