Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tutor: Add a content cycling section #5161

Merged
merged 3 commits into from
Dec 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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