From 29dc332bbbfbc487db5a1555d258c9adbb4af672 Mon Sep 17 00:00:00 2001 From: JR Date: Mon, 22 Jul 2024 16:09:41 +0200 Subject: [PATCH 1/3] Add tutor entry about 2-character label jump --- runtime/tutor | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/runtime/tutor b/runtime/tutor index 5e82cf888fd3..b0a3cd80a141 100644 --- a/runtime/tutor +++ b/runtime/tutor @@ -416,6 +416,28 @@ +================================================================= += 3.10 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 bm to + jump to the word here (which appears as bmre with the label). + + --> 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 3 RECAP = ================================================================= @@ -438,6 +460,9 @@ * Type semicolon ( ; ) to collapse selection. + * Type gw to enable 2-characters labels, and any 2 characters + to jump to the corresponding label. + ================================================================= = 4.1 UNDOING = ================================================================= From 5ddfde46b28ed67179973b9033712d740bc7a27e Mon Sep 17 00:00:00 2001 From: JR Date: Tue, 23 Jul 2024 20:05:38 +0200 Subject: [PATCH 2/3] Move gw tutor to chapter 9 --- runtime/tutor | 51 ++++++++++++++++++++++++--------------------------- 1 file changed, 24 insertions(+), 27 deletions(-) diff --git a/runtime/tutor b/runtime/tutor index b0a3cd80a141..18e084d179cc 100644 --- a/runtime/tutor +++ b/runtime/tutor @@ -416,28 +416,6 @@ -================================================================= -= 3.10 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 bm to - jump to the word here (which appears as bmre with the label). - - --> 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 3 RECAP = ================================================================= @@ -460,9 +438,6 @@ * Type semicolon ( ; ) to collapse selection. - * Type gw to enable 2-characters labels, and any 2 characters - to jump to the corresponding label. - ================================================================= = 4.1 UNDOING = ================================================================= @@ -1013,6 +988,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 bm to + jump to the word here (which appears as bmre with the label). + + --> 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 = ================================================================= @@ -1026,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. From cb7d4e9fbf8450b72655b4875a7269369e8e586b Mon Sep 17 00:00:00 2001 From: JR Date: Tue, 23 Jul 2024 21:12:26 +0200 Subject: [PATCH 3/3] Do not explicitely say which labels are shown following gw --- runtime/tutor | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/tutor b/runtime/tutor index 18e084d179cc..f5162c5c72df 100644 --- a/runtime/tutor +++ b/runtime/tutor @@ -1001,15 +1001,15 @@ lines. 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 bm to - jump to the word here (which appears as bmre with the label). + 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 = =================================================================