From ceb8c750ff44a6b939798a767601a697c530dd98 Mon Sep 17 00:00:00 2001 From: Jacob Adams Date: Fri, 25 Jan 2019 18:33:59 -0500 Subject: [PATCH 1/2] Add visual commands for indenting/unindenting --- index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.md b/index.md index 1a15429..8e43d11 100644 --- a/index.md +++ b/index.md @@ -75,6 +75,8 @@ Type any of these while some text is selected to apply the action * `y` - yank (copy) marked text * `d` - delete marked text * `c` - delete the marked text and go into insert mode (like c does above) +* `>` - Indent one level +* `<` - Unindent one level ##Cut and Paste * `yy` - yank (copy) a line From 286ed206c40114f8b6ca7c7d91a3b2cc4e102a8e Mon Sep 17 00:00:00 2001 From: Jacob Adams Date: Fri, 25 Jan 2019 18:34:37 -0500 Subject: [PATCH 2/2] Add save and quit alternatives --- index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.md b/index.md index 8e43d11..caaa3d2 100644 --- a/index.md +++ b/index.md @@ -89,6 +89,8 @@ Type any of these while some text is selected to apply the action ##Exiting * `:w` - write (save) the file, but don't exit * `:wq` - write (save) and quit +* `:x` - save if the file has been modified and quit +* `ZZ` - Same as above * `:q` - quit (fails if anything has changed) * `:q!` - quit and throw away changes