From da56ffca6850e95537b1e1c8449cac8f0cc3caee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominique=20K=C3=B6stler?= Date: Mon, 17 Oct 2022 12:29:21 +0200 Subject: [PATCH] vim: update page (#9112) --- pages/common/vim.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/common/vim.md b/pages/common/vim.md index 98dcae9ab..f6542603e 100644 --- a/pages/common/vim.md +++ b/pages/common/vim.md @@ -1,7 +1,7 @@ # vim > Vim (Vi IMproved), a command-line text editor, provides several modes for different kinds of text manipulation. -> Pressing `i` enters insert mode. `` enters normal mode, which enables the use of Vim commands. +> Pressing `i` in normal mode enters insert mode. Pressing `` goes back to normal mode, which enables the use of Vim commands. > More information: . - Open a file: @@ -16,13 +16,13 @@ `:help` -- Save and Quit: +- Save and quit the current buffer: `:wq` -- Undo the last operation: +- Enter normal mode and undo the last operation: -`u` +`u` - Search for a pattern in the file (press `n`/`N` to go to next/previous match):