From 61a20b36f2a916b35a15f3766b1b10546691446f Mon Sep 17 00:00:00 2001 From: ray gamma Date: Wed, 26 Aug 2015 12:17:37 -0400 Subject: [PATCH 1/2] added extra commands from presentation --- beginner.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/beginner.md b/beginner.md index d9b3c01..2d60411 100644 --- a/beginner.md +++ b/beginner.md @@ -67,6 +67,9 @@ Basics: wWbBeE B - Backward to the next beginning of a WORD e - Forward to the next end of word E - Forward to the next end of WORD + 0 - Move you to the zeroth character of the line + $ - Move you to the last character of the line + ^ - First non-blank character of the line Slightly less basic: fFtT All follow [(n)um] syntax @@ -98,5 +101,12 @@ Copy/Paste y - Yank. Example: yw (yank word) p - paste after cursor P - paste before cursor + v - Visual selection # vim: set syn=mkd : +Undoing your changes +=== + + u - undo stuff + Ctrl-R - redo stuff + From 3c42691e2bbff577456cb090a60be14971f54ffc Mon Sep 17 00:00:00 2001 From: ray gamma Date: Wed, 26 Aug 2015 14:22:35 -0400 Subject: [PATCH 2/2] Added changing modes and fixed the modeline to be the last line. --- beginner.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/beginner.md b/beginner.md index 2d60411..b3e8d7c 100644 --- a/beginner.md +++ b/beginner.md @@ -1,5 +1,5 @@ Joy of Painting[1] with Bob Ross[2] -= +=== [1] - Vim [2] - Shawn Biddle @@ -30,6 +30,16 @@ Pen to the page O - enter insert mode on the above line C - Delete from cursor to end of line and begin insert +Changing modes +=== + + Insert -> Normal : ESC/CTRL [ + Insert -> Command : (Insert -> Normal) -> : + + Normal -> COmmand : : + Normal -> Insert Insert : iIsScCoO + Command -> Normal : Enter + This is a test sentence (Next class will cover 'c') @@ -103,10 +113,10 @@ Copy/Paste P - paste before cursor v - Visual selection -# vim: set syn=mkd : Undoing your changes === u - undo stuff Ctrl-R - redo stuff - + +# vim: set syn=mkd :