linux vim后保存退出
时间: 2023-10-13 07:03:02 浏览: 129
Linux vim 使用详解
在Linux中使用vim编辑器后保存并退出的方法有两种。第一种是在命令模式下输入":wq",表示保存文件并退出vim。如果你只想退出而不保存文件,则可以在命令模式下输入":q!"。第二种方法是先按下Esc键,然后输入":wq"或":q!",再按回车键即可。这两种方法都可以实现保存并退出vim的操作。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [linux vim 编辑 保存 退出](https://blog.csdn.net/ycsdn10/article/details/121933411)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [linux中在VIM编辑后如何保存退出](https://blog.csdn.net/u013273161/article/details/83034983)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [linux系统vim实验报告.doc](https://download.csdn.net/download/qq_44835950/12519595)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文