mirror of
https://github.com/onkelbeh/cheatsheets.git
synced 2026-08-15 21:44:51 +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 |
|
||||
| -------------- | -------------------------------- |
|
||||
| `:q` | Close file |
|
||||
| `:qa` | Close all files |
|
||||
| `:qa!` | Close all files, abandon changes |
|
||||
| --- | --- |
|
||||
| `:w` | Save |
|
||||
| `:wq` _/_ `:x` | Save and close file |
|
||||
| --- | --- |
|
||||
| `:q` | Close file |
|
||||
| `:q!` | Close file, abandon changes |
|
||||
| --- | --- |
|
||||
| `ZZ` | Save and quit |
|
||||
| `ZQ` | Quit without checking changes |
|
||||
{: .-shortcuts}
|
||||
|
||||
Reference in New Issue
Block a user