From 9114672419ced8e305751a6f395e980cf09e0166 Mon Sep 17 00:00:00 2001 From: n0s4 Date: Sun, 26 Jun 2022 14:01:00 +0100 Subject: [PATCH] Move Jumplist section and add recap --- runtime/tutor.txt | 80 +++++++++++++++++++++++------------------------ 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/runtime/tutor.txt b/runtime/tutor.txt index 92edfeaf8..b9d6e44c5 100644 --- a/runtime/tutor.txt +++ b/runtime/tutor.txt @@ -923,42 +923,37 @@ lines. ================================================================= -= 10.1 CHANGING CASE = += 9.3 USING THE JUMPLIST = ================================================================= - Type ~ to switch the case of all selected letters. - Type ` to set all selected letters to lowercase. - Type Alt-` to set all selected letters to uppercase. - - 1. Move the cursor to the first line below marked -->. - 2. Select each wrongly capitalised or lowercase letter - and type ~ over them. - 3. Move to the second line marked -->. - 4. Type x to select the line. - 5. Type ` to change the line to lowercase. - 6. Move to the third line marked -->. - 7. Type x to select the line. - 8. Type Alt-` to change the line to uppercase. + Helix can keep track of "jumps" which are big movements, like + searching or jumping to the definition of a function in code. It + stores these in what's called the jumplist. - --> thIs sENtencE hAs MIS-cApitalIsed leTTerS. - --> this SENTENCE SHOULD all be in LOWERCASE. - --> THIS sentence should ALL BE IN uppercase! + Type C-s (ctrl-s) to manually save your current position to + the jumplist. -================================================================= -= CHAPTER 10 RECAP = -================================================================= + Type C-i ("in") and C-o ("out") to move forward and backwards in the jumplist + respectively. - * Type ~ to alternate case of selected letters. - * Use ` and alt-` to set the case of selected layers to - upper and lower respectively. + 1. Type C-s somewhere. + 2. Move far away in the file. + 3. Type C-o (just once!) to come back to where you saved. +================================================================= += CHAPTER 9 RECAP = +================================================================= + * Type * to set the search register to the primary selection. + * 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. @@ -966,35 +961,40 @@ lines. -================================================================= -= 11.1 USING THE JUMPLIST = -================================================================= - Helix can keep track of "jumps" which are big movements, like - jumping to the definition of a function in code. It stores - these in what's called the jumplist. - Type C-s (ctrl-s) to manually save your current position to - the jumplist. - Type C-i and C-o to move forward and backwards in the jumplist - respectively. - 1. Type C-s somewhere. - 2. Move far away in the file. - 3. Type C-o (just once!) to come back to where you saved. +================================================================= += 10.1 CHANGING CASE = +================================================================= + Type ~ to switch the case of all selected letters. + Type ` to set all selected letters to lowercase. + Type Alt-` to set all selected letters to uppercase. + 1. Move the cursor to the first line below marked -->. + 2. Select each wrongly capitalised or lowercase letter + and type ~ over them. + 3. Move to the second line marked -->. + 4. Type x to select the line. + 5. Type ` to change the line to lowercase. + 6. Move to the third line marked -->. + 7. Type x to select the line. + 8. Type Alt-` to change the line to uppercase. + --> thIs sENtencE hAs MIS-cApitalIsed leTTerS. + --> this SENTENCE SHOULD all be in LOWERCASE. + --> THIS sentence should ALL BE IN uppercase! ================================================================= -= CHAPTER 11 RECAP = += CHAPTER 10 RECAP = ================================================================= - * Type C-s to save position to the jumplist. - * Type C-i and C-o to go forward and backward in the jumplist. - + * Type ~ to alternate case of selected letters. + * Use ` and alt-` to set the case of selected layers to + upper and lower respectively.