:q :退出编辑器 :q! :强制退出 :wq :保存并退出 :wq! :保存并强制退出 ZZ :保存并退出 :x :保存并退出 转载于:https://www.cnblogs.com/daqindiguo/p/10784658.html