save
相关的帮助??:h save
saveas {file}
另存为
啊:saveas o2z.txt
o2z.txt
是 saveas
的参数,也就是保存的文件名:q
可以看到另存的 o2z.txt
真的被保存下来了!??,但是能否直接保存当前文件呢?
oeasy.txt
:h save
:w[rite]
命令
:write
:w
oeasy.txt[+]
中那个 [+]
,就是有修改但是未保存的标志:w
我们查看右下角状态栏显示了:
:file
:q
再执行 cat
查看 oeasy.txt
:saveas {file}
:w
原文:https://www.cnblogs.com/oeasy/p/15107025.html