From abcdb8dee25f586a5744b1c196ef74732a68c203 Mon Sep 17 00:00:00 2001 From: shoeletz Date: Tue, 5 Jan 2016 17:07:51 -0500 Subject: [PATCH] reduced repetetiveness of descriptions --- pages/common/vim.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/pages/common/vim.md b/pages/common/vim.md index 5fc98fce5e..b7f4dd3230 100644 --- a/pages/common/vim.md +++ b/pages/common/vim.md @@ -14,18 +14,22 @@ `view {{file}}` -- Exit vim: +- switch to normal mode -`[Esc] (to switch to normal mode), then :q` +`` + +- switch to insert mode + +` i ` + +- exit vim + +` :q ` - save file in vim -`[Esc] (to switch to normal mode), then :w` +` :w ` - save file then exit vim -`[Esc] (to switch to normal mode), then :wq` - -- switch to edit (insert) mode - -`[Esc] (to switch to normal mode), then i` +` :wq `