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. 回车

最新文章

  1. call_user_func()的参数不能为引用传递 自定义替代方法
  2. Notepad++根据语言类型自动选择对应编译器来编译代码
  3. ActiveMQ 目录
  4. FZU 2082 过路费
  5. 一起啃PRML - 1.2.4 The Gaussian distribution 高斯分布 正态分布
  6. jquery mobile转场时加载js失效
  7. Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0 报错
  8. burp抓取ios设备https数据包
  9. spy(主席树)
  10. Spring 学习教程(一):浅谈对Spring IOC以及DI的理解
  11. linux存储管理之交换分区
  12. Windows Server 2008 R2 如何关闭防火墙
  13. 彻底理解js中的闭包
  14. Java设计模式学习记录-策略模式
  15. rhel7.6上安装Oracle 19.2.0.0 RAC
  16. [C++ Primer] : 第13章: 拷贝控制
  17. leetcode-53-Maximum Subarray(动态规划详解)
  18. e685. 显示页面格式窗口
  19. Windows: 如何配置IPv6隧道
  20. MySQL-Transfer2.3发布

热门文章

  1. MFC调用libyara遇到的问题
  2. 设计模式C++学习笔记之七(AbstractFactory抽象工厂模式)
  3. 简单的三级联动demo
  4. 利用表格分页显示数据的js组件datatable的使用
  5. Light Oj 1005
  6. HDU 5377 (Exgcd + 原根)
  7. liunx tomcat 运行模式apr
  8. js——类型转换
  9. Mysql8.0安装步骤
  10. linux 批量进行:解压缩某一类压缩文件类型的文件