vi 放弃更改退出 保存更改退出。

按esc,按:,输入q!,回车。放弃更改退出。
按esc,按:,输入wq,回车。保存更改退出。

猜你喜欢

转载自thinktothings.iteye.com/blog/1810830