From 3b1866f959c45a964cc69a4d61a978a7cfd289ae Mon Sep 17 00:00:00 2001 From: nosa <96927121+n0s4@users.noreply.github.com> Date: Wed, 15 Jun 2022 21:31:26 +0100 Subject: [PATCH] update tutor (#2716) * update tutor * Capitalize "command mode ". * Update runtime/tutor.txt Editing mistake. Co-authored-by: Michael Davis Co-authored-by: Michael Davis --- runtime/tutor.txt | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/runtime/tutor.txt b/runtime/tutor.txt index bb426867..d531dab8 100644 --- a/runtime/tutor.txt +++ b/runtime/tutor.txt @@ -43,7 +43,7 @@ _________________________________________________________________ = 1.2 EXITING HELIX = ================================================================= - 1. Type : to enter command mode. Your cursor will + 1. Type : to enter Command mode. Your cursor will move to the bottom of the screen. 2. Type q or quit and type to exit Helix. @@ -51,7 +51,7 @@ _________________________________________________________________ To force quit and DISCARD these changes, type q! or quit!. You will learn how to save files later. - To exit command mode without entering a command, type . + To exit Command mode without entering a command, type . Now, move on to the next lesson. @@ -68,11 +68,13 @@ _________________________________________________________________ delete it. --> Thhiss senttencee haass exxtra charracterss. + This sentence has extra characters. Once the sentence is correct, move on to the next lesson. + ================================================================= = 1.4 INSERT MODE = ================================================================= @@ -131,7 +133,7 @@ _________________________________________________________________ terminal. 2. Open a file in Helix by running: hx FILENAME 3. Make some edits to the file. - 4. Type : to enter command mode. + 4. Type : to enter Command mode. 5. Type w or write, and type to save the file. You can also type wq or write-quit to save and exit. @@ -149,7 +151,7 @@ _________________________________________________________________ * Use the h,j,k,l keys to move the cursor. - * Type : to enter command mode. + * Type : to enter Command mode. * The q/quit and q!/quit! commands will exit Helix. The former fails when there are unsaved changes. The latter discards them. @@ -184,7 +186,7 @@ _________________________________________________________________ 5. Repeat for all extra words in the line. --> This sentence pencil has vacuum extra words in the it. - + This sentence has extra words in it. ================================================================= @@ -349,7 +351,7 @@ _________________________________________________________________ 6. Type , to remove the second cursor. --> I like to eat apples since my favorite fruit is apples. - + I like to eat oranges since my favourite fruit is oranges. ================================================================= @@ -365,6 +367,7 @@ _________________________________________________________________ 4. Type c and change the matches to single spaces. --> This sentence has some extra spaces. + This sentence has some extra spaces. Note: If you want to perform find-and-replace, the select command is the way to do it. Select the text you want @@ -582,12 +585,14 @@ _________________________________________________________________ Type J to join together lines in selection. 1. Move the cursor to the line below marked -->. - 2. Type J thrice or 3J to join the sentence to one line. + 2. Type x four times or 4x to select all four lines. + 3. Type J to join the lines together. - --> This line sentence + --> This sentence is spilling over onto other lines. + This sentence is spilling over onto other lines. Note: J works on all lines in selection, so typing xxx or 3x to select the lines and then a single J will work the same.