vim, nvim: add ZZ
in save and exit example (#14181)
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
- Enter normal mode and save (write) the file, and quit:
|
- Enter normal mode and save (write) the file, and quit:
|
||||||
|
|
||||||
`<Esc>:wq<Enter>`
|
`{{<Esc>ZZ|<Esc>:wq<Enter>}}`
|
||||||
|
|
||||||
- Quit without saving:
|
- Quit without saving:
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
- Save and quit the current buffer:
|
- Save and quit the current buffer:
|
||||||
|
|
||||||
`:wq<Enter>`
|
`{{ZZ|:wq<Enter>}}`
|
||||||
|
|
||||||
- Enter normal mode and undo the last operation:
|
- Enter normal mode and undo the last operation:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user