From d95c7eaa29481b65339ebe1f9b73ccc8f4d54968 Mon Sep 17 00:00:00 2001 From: n0s4 Date: Mon, 18 Jul 2022 10:10:08 +0100 Subject: [PATCH] Fixes + consistency Some lines went longer than the titlebars, fixed regex in SPLITTING SELECTIONS which wasn't actually correct. Changed 1 "bat" to a "cat" in ADDING SELECTION ON NEXT SEARCH MATCH which makes it harder to do with a simple s select. --- runtime/tutor.txt | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/runtime/tutor.txt b/runtime/tutor.txt index b2a646948..f717c1f0d 100644 --- a/runtime/tutor.txt +++ b/runtime/tutor.txt @@ -365,6 +365,7 @@ _________________________________________________________________ by the motions. --> This is an error-free line with words to move around in. + Note: This works the same in select mode. Note: Another related command is A-; which flips selections. @@ -911,11 +912,11 @@ lines. 1. Move the cursor to the line below marked -->. 2. Select the first "bat" and type * to set it to search. 3. Type v to enter select mode. - 4. Type n twice to select the next two "bat"s. - 5. Use c or r to change every "bat" to "cat". + 4. Type n to select the othe "bat". + 5. Use c or r to change the "bat"s to "cat". --> Everybody wants to be a bat, - --> because a bat's the only bat + --> because a cat's the only bat --> who knows where it's at. @@ -933,8 +934,8 @@ lines. Type C-s (ctrl-s) to manually save your current position to the jumplist. - Type C-i ("in") and C-o ("out") to move forward and backwards in the jumplist - respectively. + Type C-i ("in") and C-o ("out") to move forward and backwards in + the jumplist respectively. 1. Type C-s somewhere. 2. Move far away in the file. @@ -950,7 +951,8 @@ lines. * Type * to set the search register to the primary selection. - * Type n / N in visual mode to add selections on each search match. + * Type n / N in visual mode to add selections on each search + match. * Type C-s to save position to the jumplist. * Type C-i and C-o to go forward and backward in the jumplist. @@ -965,7 +967,6 @@ lines. - ================================================================= = 10.1 CYCLING AND REMOVING SELECIONS = ================================================================= @@ -1018,8 +1019,9 @@ lines. 1. Move the cursor to the line under ---. 2. Type xx / 2x to select the lines. - 3. Type S then \.|!. This effectively splits the - selection into sentences at each dot or exclamation mark. + 3. Type S then \. |! (note the spaces after . and !). + This effectively splits the selection into sentences at each + dot or exclamation mark. 4. Type A-; to reverse the selections. 5. Type ; to reduce selections to a single character - the first letter of each sentence. @@ -1031,7 +1033,6 @@ letters! that is not good grammar. you can fix this. - ================================================================= = CHAPTER 10 RECAP = ================================================================= @@ -1054,11 +1055,6 @@ letters! that is not good grammar. you can fix this. - - - - - ================================================================= This tutorial is still a work-in-progress. More sections are planned.