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:
5
vim.md
5
vim.md
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user