相关疑难解决方法(0)

'!' 是什么意思?当它被添加到 ex 命令时真的会做吗 (:wq! | :w! | :q! )?

我明白这意味着强制做某事。

这样做时$ vim -R file我进入read-only模式,但这仅作为预防模式起作用

-R  Readonly mode.  The 'readonly' option will be set for all the
    files being edited.  You can still edit the buffer, but will
    be prevented from accidentally overwriting a file.  If you
    forgot that you are in View mode and did make some changes,
    you can overwrite a file by adding an exclamation mark to
    the Ex command, as in ":w!".  The 'readonly' option can be
    reset with ":set …
Run Code Online (Sandbox Code Playgroud)

vim

5
推荐指数
1
解决办法
2553
查看次数

标签 统计

vim ×1