diff --git a/pages/common/vim.md b/pages/common/vim.md index 87d4805056..f4c6a63364 100644 --- a/pages/common/vim.md +++ b/pages/common/vim.md @@ -14,22 +14,18 @@ `view {{file}}` -- Switch to normal mode: +- Enter normal text editing mode (insert mode): -`` +` i` -- Switch to insert mode: +- Search in file: -` i` +`/{{search_string}}` -- Exit vim: +- Save and Exit vim: -` :q ` +` :wq ` -- Save file in vim: +- Open interactive help: -` :w ` - -- Save file then exit vim: - -` :wq ` +` :help ` diff --git a/pages/common/vimtutor.md b/pages/common/vimtutor.md index aae1ce9708..e00e6d4254 100644 --- a/pages/common/vimtutor.md +++ b/pages/common/vimtutor.md @@ -8,4 +8,4 @@ - Exit the tutor: -`[Esc] (to switch to normal mode), then :q` +` :q `