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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

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}