首页 > 其他 > 详细

vi不保存退出

时间:2018-05-17 22:59:47      阅读:194      评论:0      收藏:0      [点我收藏+]

To quit the vi editor without saving any changes you‘ve made

  • If you are currently in insert or append mode, press Esc .
  • Press : (colon). The cursor should reappear at the lower left corner of the screen beside a colon prompt.
  • Enter the following: q!

步骤如下:

  1. 按ESC
  2. 按住shift键 + :键
  3. 输入q!
  4. 回车

vi不保存退出

原文:https://www.cnblogs.com/144823836yj/p/9053633.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!