Skip to content

Commit

Permalink
tutor: Add a content cycling section (#5161)
Browse files Browse the repository at this point in the history
  • Loading branch information
devgioele committed Dec 23, 2022
1 parent 7905086 commit 7a1fa0c
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions runtime/tutor
Original file line number Diff line number Diff line change
Expand Up @@ -985,11 +985,33 @@ lines.
--> How much would would a wouldchuck chuck
--> if a wouldchuck could chuck would?

Note: Additionally, Alt-( and Alt-) cycle the *contents* of the
selections as well.



=================================================================
= 10.2 CYCLING THE CONTENT OF SELECTIONS =
=================================================================

Type Alt-) and Alt-( to cycle the content of the selections
forward and backward respectively.

1. Move the cursor to the line marked '-->' below.
2. Select both lines with xx or 2x.
3. Type s to select, type "through|water|know" and enter.
4. Use Alt-( and Alt-) to cycle the content of the selections.

--> Jumping through the water,
--> daring to know.








=================================================================
= 10.2 CHANGING CASE =
= 10.3 CHANGING CASE =
=================================================================

Type ~ to switch the case of all selected letters.
Expand All @@ -1011,7 +1033,7 @@ lines.
--> THIS sentence should ALL BE IN uppercase!

=================================================================
= 10.3 SPLITTING SELECTIONS =
= 10.4 SPLITTING SELECTIONS =
=================================================================

Type S to split each selection on a regex pattern.
Expand Down Expand Up @@ -1039,6 +1061,7 @@ letters! that is not good grammar. you can fix this.
* Use ) and ( to cycle the primary selection back and forward
through selections respectively.
* Type Alt-, to remove the primary selection.
* Type Alt-) and Alt-( to cycle the content of the selections.

* Type ~ to alternate case of selected letters.
* Use ` and Alt-` to set the case of selected letters to
Expand All @@ -1053,7 +1076,6 @@ letters! that is not good grammar. you can fix this.




=================================================================
= =
=================================================================
Expand Down

0 comments on commit 7a1fa0c

Please sign in to comment.