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):