summaryrefslogtreecommitdiffstats
path: root/runtime/tutor
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-07 22:18:52 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-07 22:18:52 +0200
commit1c6737b20a5cf71751b180461cea22fc76d8870c (patch)
treeb4fb75497cb2c47f09de1de5bea821af222756ce /runtime/tutor
parent9c929713b7588f2e44a1533809d2ba0bbd2631be (diff)
Update runtime files.
Diffstat (limited to 'runtime/tutor')
-rw-r--r--runtime/tutor/tutor6
-rw-r--r--runtime/tutor/tutor.utf-86
2 files changed, 8 insertions, 4 deletions
diff --git a/runtime/tutor/tutor b/runtime/tutor/tutor
index 3add4f66df..ed3d076f25 100644
--- a/runtime/tutor/tutor
+++ b/runtime/tutor/tutor
@@ -319,6 +319,7 @@ NOTE: Pressing just the motion while in Normal mode without an operator will
---> 6) Sugar is sweet
---> 7) And so are you.
+Doubling to operate on a line also works for operators mentioned below
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lesson 2.7: THE UNDO COMMAND
@@ -432,7 +433,7 @@ NOTE: Remember that you should be learning by doing, not memorization.
---> This line has a few words that need changing using the change operator.
Notice that ce deletes the word and places you in Insert mode.
-
+ cc does the same for the whole line
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -802,7 +803,8 @@ NOTE: Replace mode is like Insert mode, but every typed character deletes an
---> a) this is the first item.
b)
- NOTE: You can also use y as an operator; yw yanks one word.
+ NOTE: You can also use y as an operator: yw yanks one word,
+ yy yanks the whole line, then p puts that line
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lesson 6.5: SET OPTION
diff --git a/runtime/tutor/tutor.utf-8 b/runtime/tutor/tutor.utf-8
index 3add4f66df..ed3d076f25 100644
--- a/runtime/tutor/tutor.utf-8
+++ b/runtime/tutor/tutor.utf-8
@@ -319,6 +319,7 @@ NOTE: Pressing just the motion while in Normal mode without an operator will
---> 6) Sugar is sweet
---> 7) And so are you.
+Doubling to operate on a line also works for operators mentioned below
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lesson 2.7: THE UNDO COMMAND
@@ -432,7 +433,7 @@ NOTE: Remember that you should be learning by doing, not memorization.
---> This line has a few words that need changing using the change operator.
Notice that ce deletes the word and places you in Insert mode.
-
+ cc does the same for the whole line
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -802,7 +803,8 @@ NOTE: Replace mode is like Insert mode, but every typed character deletes an
---> a) this is the first item.
b)
- NOTE: You can also use y as an operator; yw yanks one word.
+ NOTE: You can also use y as an operator: yw yanks one word,
+ yy yanks the whole line, then p puts that line
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lesson 6.5: SET OPTION