aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorn0s42022-06-17 16:19:21 +0000
committerBlaž Hrastnik2022-07-26 01:22:28 +0000
commitaa5cebae224923fcff032b3ad3deca5d9df1a53b (patch)
tree96723daf3ad158c350e305045a23a33020914177 /runtime
parenta0d01455acd1a125756441b9c27dcecfd7edf0d4 (diff)
Added Select mode section.
Also added a note about X on "SELECTING LINES".
Diffstat (limited to 'runtime')
-rw-r--r--runtime/tutor.txt34
1 files changed, 28 insertions, 6 deletions
diff --git a/runtime/tutor.txt b/runtime/tutor.txt
index 8a424fe1..b49a1ab4 100644
--- a/runtime/tutor.txt
+++ b/runtime/tutor.txt
@@ -307,7 +307,29 @@ _________________________________________________________________
=================================================================
-= 3.5 SELECTING LINES =
+= 3.5 SELECT/EXTEND MODE =
+=================================================================
+
+ Type v to enter Select mode.
+ Type v again or <ESC> to return to normal mode
+ In Select mode every movement will extend the selection, as
+ oppposed to replacing it.
+
+ 1. Move the cursor to the line below marked -->.
+ 2. Move to the F of FOO and type v2w to select the two words.
+ 3. Type d to remove the two words. Notice d returns you to
+ Normal mode.
+ 4. Move to the B of BAZ and repeat the sequence to delete them.
+
+ --> Remove the FOO BAR distracting words BAZ BIZ from this line.
+
+
+
+
+
+
+=================================================================
+= 3.6 SELECTING LINES =
=================================================================
Type x to select a whole line. Type x again to select the next.
@@ -325,8 +347,8 @@ _________________________________________________________________
--> 6) Sugar is sweet,
--> 7) And so are you.
-
-
+ NOTE: X works similarly to x although it does not extend to
+ subsequent lines. X on an empty line does nothing.
=================================================================
= CHAPTER 3 RECAP =
@@ -344,12 +366,12 @@ _________________________________________________________________
* Type a number before a motion to repeat it that many times.
+ * Type v to enter Select mode, where all motions extend the
+ selection.
+
* Type x to select the entire current line. Type x again to
select the next line.
-
-
-
=================================================================
= 4.1 UNDOING =
=================================================================