vim 强制退出不保存
时间: 2023-10-17 07:31:10 浏览: 93
在Vim中,强制退出且不保存可以使用"q!"命令。这个命令会立即退出当前Vim窗口,并且会忽略掉所有的更改,即使当前缓冲区中有未保存的修改也不会进行保存。另外,还可以使用":quit!"命令来达到同样的效果。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Linux中vi不保存强制退出的命令是什么?](https://blog.csdn.net/vecloud/article/details/125803299)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [退出vim的方法](https://blog.csdn.net/weixin_48419914/article/details/124315453)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文