Unnamed repository; edit this file 'description' to name the repository.
Add tutor entry about 2-character label jump (#11273)
* Add tutor entry about 2-character label jump * Move gw tutor to chapter 9 * Do not explicitely say which labels are shown following gw
JR 2024-07-24
parent 1d0a3d4 · commit 4c18355
-rw-r--r--runtime/tutor26
1 files changed, 24 insertions, 2 deletions
diff --git a/runtime/tutor b/runtime/tutor
index 5e82cf88..f5162c5c 100644
--- a/runtime/tutor
+++ b/runtime/tutor
@@ -989,6 +989,28 @@ lines.
=================================================================
+= 9.4 JUMP WITH TWO-CHARACTER LABELS =
+=================================================================
+
+ Type gw to enable the 2-character labels. The start of each word
+ will be replaced by 2 highlighted characters. Type any sequence
+ of 2 highlighted characters to jump to the corresponding label,
+ or use ESC to drop the labels.
+
+ The 2-character labels allow to quickly jump to any location
+ in the viewable selection.
+
+ 1. Move the cursor to the start of the line marked '-->' below.
+ 2. Press gw to enable the 2-character labels, and then the two
+ characters that replace the two leters he at the start of
+ here to jump to the corresponding word.
+
+ --> This is just a simple line of text.
+ There may be many such lines
+ But you really want to jump here!
+ This is fast with the 2-character labels.
+
+=================================================================
= CHAPTER 9 RECAP =
=================================================================
@@ -1001,8 +1023,8 @@ lines.
* Press Ctrl-i and Ctrl-o to go forward and backward in the
jumplist.
-
-
+ * Type gw to enable 2-characters labels, and any 2 characters
+ to jump to the corresponding label, or ESC to drop the labels.