1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2026-08-16 05:54:53 +02:00

Removed :q! and :qa! (#1944)

This commit is contained in:
TheDarkTron
2023-01-27 11:22:23 +01:00
committed by GitHub
parent 0d16abcb6a
commit 04d0b8d9df

5
vim.md
View File

@@ -19,15 +19,12 @@ Getting started
| Shortcut | Description | | Shortcut | Description |
| -------------- | -------------------------------- | | -------------- | -------------------------------- |
| `:q` | Close file |
| `:qa` | Close all files | | `:qa` | Close all files |
| `:qa!` | Close all files, abandon changes |
| --- | --- | | --- | --- |
| `:w` | Save | | `:w` | Save |
| `:wq` _/_ `:x` | Save and close file | | `:wq` _/_ `:x` | Save and close file |
| --- | --- | | --- | --- |
| `:q` | Close file |
| `:q!` | Close file, abandon changes |
| --- | --- |
| `ZZ` | Save and quit | | `ZZ` | Save and quit |
| `ZQ` | Quit without checking changes | | `ZQ` | Quit without checking changes |
{: .-shortcuts} {: .-shortcuts}