Skip to content

Commit

Permalink
vim, nvim: add ZZ in save and exit example (#14181)
Browse files Browse the repository at this point in the history
  • Loading branch information
Managor authored Oct 13, 2024
1 parent 1c4c70b commit 9bef160
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/common/nvim.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

- Enter normal mode and save (write) the file, and quit:

`<Esc>:wq<Enter>`
`{{<Esc>ZZ|<Esc>:wq<Enter>}}`

- Quit without saving:

Expand Down
2 changes: 1 addition & 1 deletion pages/common/vim.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

- Save and quit the current buffer:

`:wq<Enter>`
`{{ZZ|:wq<Enter>}}`

- Enter normal mode and undo the last operation:

Expand Down

0 comments on commit 9bef160

Please sign in to comment.