From 2ba4397edc711cf3f599990af47710c3e74e93e6 Mon Sep 17 00:00:00 2001 From: Leandro Ostera Date: Sun, 21 Aug 2016 16:00:09 +0200 Subject: [PATCH] Updates vim and vimtutor pages (#926) * Updates vim and vimtutor pages * Easy peasy. * Use instead of * Show help command. We might not be able to help you move around but the interactive help provided by vim is pretty good, so helping people find it might be a good idea. * Reorder commands and lowercase help --- pages/common/vim.md | 20 ++++++++------------ pages/common/vimtutor.md | 2 +- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/pages/common/vim.md b/pages/common/vim.md index 87d480505..f4c6a6336 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 aae1ce970..e00e6d425 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 `