From 9bef16038a372e94d504645cb17d1cbd0dcbb796 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 13 Oct 2024 23:07:20 +0300 Subject: [PATCH] vim, nvim: add `ZZ` in save and exit example (#14181) --- pages/common/nvim.md | 2 +- pages/common/vim.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/nvim.md b/pages/common/nvim.md index 90baed889f..ebcb34bf3c 100644 --- a/pages/common/nvim.md +++ b/pages/common/nvim.md @@ -31,7 +31,7 @@ - Enter normal mode and save (write) the file, and quit: -`:wq` +`{{ZZ|:wq}}` - Quit without saving: diff --git a/pages/common/vim.md b/pages/common/vim.md index 6a7563e907..1153079821 100644 --- a/pages/common/vim.md +++ b/pages/common/vim.md @@ -19,7 +19,7 @@ - Save and quit the current buffer: -`:wq` +`{{ZZ|:wq}}` - Enter normal mode and undo the last operation: