📜  如何退出 vim - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:40.147000             🧑  作者: Mango

代码示例5
:qa            Close all files
:qa!        Close all files, abandon changes
:w            Save
:wq / :x    Save and close file
:q            Close file
:q!            Close file, abandon changes
ZZ            Save and quit
ZQ            Quit without checking changes