on master help sign in
tutor: Change "Type" to "Press" for specials keys and modifiers (#5609)
commit42b040141632e332c837765f2eb1538ec9c53a8a authorVítor Galvão <info@vitorgalvao.com> dateSat 21 Jan 2023, 19:19 (4 years ago) parent99fcb10
1 file changed+37−37
runtime/tutor+37−37
runtime/tutor+37−37
@@ -48,13 +48,13 @@ _________________________________________________________________
4848
4949 1. Type : to enter Command mode. Your cursor will
5050 move to the bottom of the screen.
51− 2. Type q or quit and type Enter to exit Helix.
51+ 2. Type q or quit and press Enter to exit Helix.
5252
5353 Note: The quit command will fail if there are unsaved changes.
5454 To force quit and DISCARD these changes, type q! or quit!.
5555 You will learn how to save files later.
5656
57− To exit Command mode without entering a command, type Escape.
57+ To exit Command mode without entering a command, press Escape.
5858
5959 Now, move on to the next lesson.
6060
@@ -96,7 +96,7 @@ _________________________________________________________________
9696 2. Move to a place in the line which is missing text and type
9797 i to enter Insert mode. Keys you type will now type text.
9898 3. Enter the missing text.
99− 4. Type Escape to exit Insert mode and return to Normal mode.
99+ 4. Press Escape to exit Insert mode and return to Normal mode.
100100 5. Repeat until the line matches the line below it.
101101
102102 --> Th stce misg so.
@@ -119,7 +119,7 @@ _________________________________________________________________
119119 2. Open a file in Helix by running: hx FILENAME
120120 3. Make some edits to the file.
121121 4. Type : to enter Command mode.
122− 5. Type w or write, and type Enter to save the file.
122+ 5. Type w or write, and press Enter to save the file.
123123
124124 You can also type wq or write-quit to save and exit.
125125
@@ -145,7 +145,7 @@ _________________________________________________________________
145145
146146 * Type d to delete the character at the cursor.
147147
148− * Type i to enter Insert mode and type text. Type Escape to
148+ * Type i to enter Insert mode and type text. Press Escape to
149149 return to Normal mode.
150150
151151
@@ -469,7 +469,7 @@ _________________________________________________________________
469469 Type N to go to the previous search match.
470470
471471 1. Type / and type in a common word, like 'banana'.
472− 2. Type Enter to confirm the search.
472+ 2. Press Enter to confirm the search.
473473 3. Use n and N to cycle through the matches.
474474
475475 Searching uses regular expressions, allowing you to target more
@@ -524,7 +524,7 @@ _________________________________________________________________
524524 --> Fix th two nes at same ime.
525525 Fix these two lines at the same time.
526526
527− Note: Type Alt-C to do the same above the cursor.
527+ Note: Press Alt-C to do the same above the cursor.
528528
529529=================================================================
530530= 5.2 THE SELECT COMMAND =
@@ -535,11 +535,11 @@ _________________________________________________________________
535535 1. Move the cursor to the line marked '-->' below.
536536 2. Type x to select the line.
537537 3. Type s. A prompt will appear.
538− 4. Type 'apples' and type Enter. Both occurrences of
538+ 4. Type 'apples' and press Enter. Both occurrences of
539539 'apples' in the line will be selected.
540540 5. You can now type c and change 'apples' to something else,
541541 like 'oranges'.
542− 6. Type Escape to exit Insert mode.
542+ 6. Press Escape to exit Insert mode.
543543 7. Type , to remove the second cursor.
544544
545545 --> I like to eat apples since my favorite fruit is apples.
@@ -558,7 +558,7 @@ _________________________________________________________________
558558 1. Move the cursor to the line marked '-->' below.
559559 2. Select the line with x and then type s.
560560 3. Type ' +' to select any amount of consecutive spaces >1,
561− then type Enter.
561+ then press Enter.
562562 4. Type c and change the matches to single spaces.
563563
564564 --> This sentence has some extra spaces.
@@ -596,11 +596,11 @@ _________________________________________________________________
596596= 5.5 SPLIT SELECTION INTO LINES =
597597=================================================================
598598
599− Type Alt-s to split the selection(s) on newlines.
599+ Press Alt-s to split the selection(s) on newlines.
600600
601601 1. Move the cursor to the first row of the table below.
602602 2. Select the entire table with 6x.
603− 3. Type Alt-s to split into selections at each line.
603+ 3. Press Alt-s to split into selections at each line.
604604 4. Align the table with &.
605605
606606 | FRUIT | AMOUNT |
@@ -626,7 +626,7 @@ _________________________________________________________________
626626
627627 * Type & to align selections.
628628
629− * Type Alt-s to split the selection into lines.
629+ * Press Alt-s to split the selection into lines.
630630
631631
632632
@@ -685,7 +685,7 @@ _________________________________________________________________
685685=================================================================
686686
687687 Type . to repeat the last insert command.
688− Type Alt-. to repeat the last f / t selection.
688+ Press Alt-. to repeat the last f / t selection.
689689
690690 1. Move the cursor to the line marked '-->' below.
691691 2. Make a change, insertion or appendage and repeat it with . .
@@ -712,7 +712,7 @@ _________________________________________________________________
712712 * Type r to replace selected characters.
713713
714714 * Type . to repeat the last insertion.
715− * Type Alt-. to repeat the last f / t selection.
715+ * Press Alt-. to repeat the last f / t selection.
716716
717717
718718
@@ -794,13 +794,13 @@ lines.
794794= 7.4 INCREMENTING AND DECREMENTING =
795795=================================================================
796796
797− Type Ctrl-a to increment the number under selection.
798− Type Ctrl-x to decrement the number under selection.
797+ Press Ctrl-a to increment the number under selection.
798+ Press Ctrl-x to decrement the number under selection.
799799
800800 1. Move the cursor to the third line marked '-->' below.
801− 2. Type Ctrl-a to increment the second point marked 2.
801+ 2. Press Ctrl-a to increment the second point marked 2.
802802 3. Repeat for the point marked 3.
803− 4. Move to the last point and type Ctrl-x to decrement the 6.
803+ 4. Move to the last point and press Ctrl-x to decrement the 6.
804804
805805 --> 1) First point.
806806 --> 2) Added point.
@@ -822,8 +822,8 @@ lines.
822822
823823 * Type < and > to indent / outdent lines.
824824
825− * Type Ctrl-a to increment the selected number.
826− * Type Ctrl-x to decrement the selected number.
825+ * Press Ctrl-a to increment the selected number.
826+ * Press Ctrl-x to decrement the selected number.
827827
828828
829829
@@ -952,15 +952,15 @@ lines.
952952 searching or jumping to the definition of a function in code. It
953953 stores these in what's called the jumplist.
954954
955− Type Ctrl-s to manually save your current position to
955+ Press Ctrl-s to manually save your current position to
956956 the jumplist.
957957
958− Type Ctrl-i ("in") and Ctrl-o ("out") to move forward and
958+ Press Ctrl-i ("in") and Ctrl-o ("out") to move forward and
959959 backwards in the jumplist respectively.
960960
961− 1. Type Ctrl-s somewhere.
961+ 1. Press Ctrl-s somewhere.
962962 2. Move far away in the file.
963− 3. Type Ctrl-o (just once!) to come back to where you saved.
963+ 3. Press Ctrl-o (just once!) to come back to where you saved.
964964
965965
966966
@@ -975,8 +975,8 @@ lines.
975975 * Type n / N in Visual mode to add selections on each search
976976 match.
977977
978− * Type Ctrl-s to save position to the jumplist.
979− * Type Ctrl-i and Ctrl-o to go forward and backward in the
978+ * Press Ctrl-s to save position to the jumplist.
979+ * Press Ctrl-i and Ctrl-o to go forward and backward in the
980980 jumplist.
981981
982982
@@ -995,7 +995,7 @@ lines.
995995 Type ) and ( to cycle the primary selection forward and backward
996996 through selections respectively.
997997
998− Type Alt-, to remove the primary selection.
998+ Press Alt-, to remove the primary selection.
999999
10001000 1. Move the cursor to the line marked '-->' below.
10011001 2. Select both lines with xx or 2x.
@@ -1014,7 +1014,7 @@ lines.
10141014= 10.2 CYCLING THE CONTENT OF SELECTIONS =
10151015=================================================================
10161016
1017− Type Alt-) and Alt-( to cycle the content of the selections
1017+ Press Alt-) and Alt-( to cycle the content of the selections
10181018 forward and backward respectively.
10191019
10201020 1. Move the cursor to the line marked '-->' below.
@@ -1038,7 +1038,7 @@ lines.
10381038
10391039 Type ~ to switch the case of all selected letters.
10401040 Type ` to set all selected letters to lowercase.
1041− Type Alt-` to set all selected letters to uppercase.
1041+ Press Alt-` to set all selected letters to uppercase.
10421042
10431043 1. Move the cursor to the first line marked '-->' below.
10441044 2. Select each wrongly capitalised or lowercase letter
@@ -1048,7 +1048,7 @@ lines.
10481048 5. Type ` to change the line to lowercase.
10491049 6. Move to the third line marked '-->'.
10501050 7. Type x to select the line.
1051− 8. Type Alt-` to change the line to uppercase.
1051+ 8. Press Alt-` to change the line to uppercase.
10521052
10531053 --> thIs sENtencE hAs MIS-cApitalIsed leTTerS.
10541054 --> this SENTENCE SHOULD all be in LOWERCASE.
@@ -1065,10 +1065,10 @@ lines.
10651065 3. Type S then \. |! Enter (note the spaces after . and !).
10661066 This effectively splits the selection into sentences at each
10671067 dot or exclamation mark.
1068− 4. Type Alt-; to reverse the selections.
1068+ 4. Press Alt-; to reverse the selections.
10691069 5. Type ; to reduce selections to a single character - the first
10701070 letter of each sentence.
1071− 6. Type Alt-` to convert all selected letters to uppercase.
1071+ 6. Press Alt-` to convert all selected letters to uppercase.
10721072
10731073---
10741074these are sentences. some sentences don't start with uppercase
@@ -1082,8 +1082,8 @@ letters! that is not good grammar. you can fix this.
10821082
10831083 * Use ) and ( to cycle the primary selection back and forward
10841084 through selections respectively.
1085− * Type Alt-, to remove the primary selection.
1086− * Type Alt-) and Alt-( to cycle the content of the selections.
1085+ * Press Alt-, to remove the primary selection.
1086+ * Press Alt-) and Alt-( to cycle the content of the selections.
10871087
10881088 * Type ~ to alternate case of selected letters.
10891089 * Use ` and Alt-` to set the case of selected letters to
@@ -1102,7 +1102,7 @@ letters! that is not good grammar. you can fix this.
11021102= 11.1 COMMENTING A LINE =
11031103=================================================================
11041104
1105−Type Ctrl-c to comment the line under your cursor.
1105+Press Ctrl-c to comment the line under your cursor.
11061106To uncomment the line, press Ctrl-c again.
11071107
110811081. Move your cursor to the line marked '-->' below.
@@ -1146,7 +1146,7 @@ multiple cursors, they won't be uncommented but commented again.
11461146= CHAPTER 11 RECAP =
11471147=================================================================
11481148
1149− * Use Ctrl-c to comment a line under your cursor. Type Ctrl-c
1149+ * Use Ctrl-c to comment a line under your cursor. Press Ctrl-c
11501150 again to uncomment.
11511151 * To comment multiple lines, use the selections
11521152 and multi-cursors before typing Ctrl-c.