---
title: "如何退出 Vim"
description: "1. 安装最新版本的 Vim 2. 在 Vim 中打开一个文件 3. 按 ⌘-Q 关闭终端 4. 重新打开终端"
canonical: https://oozou.com/til/how-to-quit-vim-29
locale: zh-Hans
date: 2020-10-13
topic: vim
---

# 如何退出 Vim

> 1. 安装最新版本的 Vim 2. 在 Vim 中打开一个文件 3. 按 ⌘-Q 关闭终端 4. 重新打开终端

Published: 2020-10-13 · Topic: [vim](https://oozou.com/zh-Hans/til-topics/vim) ([markdown](https://oozou.com/zh-Hans/til-topics/vim.md))

1. 安装最新版本的 Vim
2. 在 Vim 中打开一个文件
3. 按 *⌘-Q* 关闭终端
4. 重新打开终端

这显然是个玩笑，退出 Vim 是不可能的。

---

Contact OOZOU: hello@oozou.com · +66 2544 0000 · https://oozou.com/zh-Hans/contact

More for AI agents: https://oozou.com/llms.txt · every page has a markdown twin at its URL plus ".md"
