on master help sign in
docs: Punctuation on tutor (#3888)
0d8d8a4adrian5
runtime/tutor+29−29
@@ -70,7 +70,7 @@ _________________________________________________________________
70
70
71 Type the d key to delete the character under the cursor.
71 Type the d key to delete the character under the cursor.
72
72
73− 1. Move the cursor to the line below marked -->.
73+ 1. Move the cursor to the line marked '-->' below.
74 2. Move the cursor to each extra character, and type d to
74 2. Move the cursor to each extra character, and type d to
75 delete it.
75 delete it.
76
76
@@ -92,7 +92,7 @@ _________________________________________________________________
92
92
93 Type the i key to enter Insert mode.
93 Type the i key to enter Insert mode.
94
94
95− 1. Move the cursor to the line below marked -->.
95+ 1. Move the cursor to the line marked '-->' below.
96 2. Move to a place in the line which is missing text and type
96 2. Move to a place in the line which is missing text and type
97 i to enter Insert mode. Keys you type will now type text.
97 i to enter Insert mode. Keys you type will now type text.
98 3. Enter the missing text.
98 3. Enter the missing text.
@@ -166,7 +166,7 @@ _________________________________________________________________
166 I - Insert at the start of the line.
166 I - Insert at the start of the line.
167 A - Insert at the end of the line.
167 A - Insert at the end of the line.
168
168
169− 1. Move to anywhere in the line below marked -->.
169+ 1. Move to anywhere in the line marked '-->' below.
170 2. Type A (<SHIFT> + a), your cursor will move to the end of
170 2. Type A (<SHIFT> + a), your cursor will move to the end of
171 the line and you will be able to type.
171 the line and you will be able to type.
172 3. Type the text necessary to match the line below.
172 3. Type the text necessary to match the line below.
@@ -181,7 +181,7 @@ _________________________________________________________________
181 Type o to add a newline and insert below the cursor.
181 Type o to add a newline and insert below the cursor.
182 Type O to add a newline and insert above the cursor.
182 Type O to add a newline and insert above the cursor.
183
183
184− 1. Move the cursor to the line below marked -->.
184+ 1. Move the cursor to the line marked '-->' below.
185 2. Type o to open a line below and type your answer.
185 2. Type o to open a line below and type your answer.
186
186
187 --> What is the best editor?
187 --> What is the best editor?
@@ -228,7 +228,7 @@ _________________________________________________________________
228 it deletes all selected text. Your cursor is like a
228 it deletes all selected text. Your cursor is like a
229 single-character selection.
229 single-character selection.
230
230
231− 1. Move the cursor to the line below marked -->.
231+ 1. Move the cursor to the line marked '-->' below.
232 2. Move to the beginning of a word that needs to be deleted.
232 2. Move to the beginning of a word that needs to be deleted.
233 3. Type w to select until the beginning of the next word.
233 3. Type w to select until the beginning of the next word.
234 4. Type d to delete the selection.
234 4. Type d to delete the selection.
@@ -271,7 +271,7 @@ _________________________________________________________________
271 The change command deletes the current selection and enters
271 The change command deletes the current selection and enters
272 Insert mode, so it is a very common shorthand for di.
272 Insert mode, so it is a very common shorthand for di.
273
273
274− 1. Move the cursor to the line below marked -->.
274+ 1. Move the cursor to the line marked '-->' below.
275 2. Move to the start of an incorrect word and type w to
275 2. Move to the start of an incorrect word and type w to
276 select it.
276 select it.
277 3. Type c to delete the word and enter Insert mode.
277 3. Type c to delete the word and enter Insert mode.
@@ -290,7 +290,7 @@ _________________________________________________________________
290
290
291 Type a number before a motion to repeat it that many times.
291 Type a number before a motion to repeat it that many times.
292
292
293− 1. Move the cursor to the line below marked -->.
293+ 1. Move the cursor to the line marked '-->' below.
294 2. Type 2w to move 2 words forward.
294 2. Type 2w to move 2 words forward.
295 3. Type 3e to move to the end of the third word forward.
295 3. Type 3e to move to the end of the third word forward.
296 4. Type 2b to move 2 words backwards
296 4. Type 2b to move 2 words backwards
@@ -315,7 +315,7 @@ _________________________________________________________________
315 In Select mode every movement will extend the selection, as
315 In Select mode every movement will extend the selection, as
316 opposed to replacing it.
316 opposed to replacing it.
317
317
318− 1. Move the cursor to the line below marked -->.
318+ 1. Move the cursor to the line marked '-->' below.
319 2. Move to the F of FOO and type v2w to select the two words.
319 2. Move to the F of FOO and type v2w to select the two words.
320 3. Type d to remove the two words. Notice d returns you to
320 3. Type d to remove the two words. Notice d returns you to
321 Normal mode.
321 Normal mode.
@@ -334,7 +334,7 @@ _________________________________________________________________
334
334
335 Type x to select a whole line. Type x again to select the next.
335 Type x to select a whole line. Type x again to select the next.
336
336
337− 1. Move the cursor to the second line below marked -->.
337+ 1. Move the cursor to the second line marked '-->' below.
338 2. Type x to select the line, and d to delete it.
338 2. Type x to select the line, and d to delete it.
339 3. Move to the fourth line.
339 3. Move to the fourth line.
340 4. Type x twice or type 2x to select 2 lines, and d to delete.
340 4. Type x twice or type 2x to select 2 lines, and d to delete.
@@ -359,7 +359,7 @@ _________________________________________________________________
359 Sometimes, you want to deselect without having to move the
359 Sometimes, you want to deselect without having to move the
360 cursor(s). This can be done using the ; key.
360 cursor(s). This can be done using the ; key.
361
361
362− 1. Move the cursor to the line below marked -->.
362+ 1. Move the cursor to the line marked '-->' below.
363 2. Use the motions you have learned to move around the line,
363 2. Use the motions you have learned to move around the line,
364 and try using ; to deselect the text after it is selected
364 and try using ; to deselect the text after it is selected
365 by the motions.
365 by the motions.
@@ -400,7 +400,7 @@ _________________________________________________________________
400
400
401 Type u to undo. Type U to redo.
401 Type u to undo. Type U to redo.
402
402
403− 1. Move the cursor to the line below marked -->.
403+ 1. Move the cursor to the line marked '-->' below.
404 2. Move to the first error, and type d to delete it.
404 2. Move to the first error, and type d to delete it.
405 3. Type u to undo your deletion.
405 3. Type u to undo your deletion.
406 4. Fix all the errors on the line.
406 4. Fix all the errors on the line.
@@ -424,7 +424,7 @@ _________________________________________________________________
424 Type p to paste the yanked selection after the cursor.
424 Type p to paste the yanked selection after the cursor.
425 Type P to paste the yanked text before the cursor.
425 Type P to paste the yanked text before the cursor.
426
426
427− 1. Move the cursor to the line below marked -->.
427+ 1. Move the cursor to the line marked '-->' below.
428 Make sure your cursor is on the "b" of banana.
428 Make sure your cursor is on the "b" of banana.
429 2. Type w to select "banana" and y to yank it.
429 2. Type w to select "banana" and y to yank it.
430 3. Move to the space between "2" and "3" and type p to paste.
430 3. Move to the space between "2" and "3" and type p to paste.
@@ -488,7 +488,7 @@ _________________________________________________________________
488
488
489 Type C to duplicate the cursor to the next suitable line.
489 Type C to duplicate the cursor to the next suitable line.
490
490
491− 1. Move the cursor to the first line below marked -->.
491+ 1. Move the cursor to the first line marked '-->' below.
492 2. Type C to duplicate the cursor to the next suitable line.
492 2. Type C to duplicate the cursor to the next suitable line.
493 Notice how it skips the line in the middle. Keys you type
493 Notice how it skips the line in the middle. Keys you type
494 will now affect both cursors.
494 will now affect both cursors.
@@ -510,7 +510,7 @@ _________________________________________________________________
510
510
511 Type s to select matches in the selection.
511 Type s to select matches in the selection.
512
512
513− 1. Move the cursor to the line below marked -->.
513+ 1. Move the cursor to the line marked '-->' below.
514 2. Type x to select the line.
514 2. Type x to select the line.
515 3. Type s. A prompt will appear.
515 3. Type s. A prompt will appear.
516 4. Type 'apples' and type <ENTER>. Both occurrences of
516 4. Type 'apples' and type <ENTER>. Both occurrences of
@@ -533,7 +533,7 @@ _________________________________________________________________
533 The select command selects regular expressions, not just exact
533 The select command selects regular expressions, not just exact
534 matches, allowing you to target more complex patterns.
534 matches, allowing you to target more complex patterns.
535
535
536− 1. Move the cursor to the line below marked -->.
536+ 1. Move the cursor to the line marked '-->' below.
537 2. Select the line with x and then type s.
537 2. Select the line with x and then type s.
538 3. Enter ' +' to select any amount of consecutive spaces >1.
538 3. Enter ' +' to select any amount of consecutive spaces >1.
539 4. Type c and change the matches to single spaces.
539 4. Type c and change the matches to single spaces.
@@ -554,7 +554,7 @@ _________________________________________________________________
554
554
555 Type & to align the contents of the selections.
555 Type & to align the contents of the selections.
556
556
557− 1. Move the cursor to the first line below marked -->. Place
557+ 1. Move the cursor to the first line marked '-->' below. Place
558 the cursor on the whitespace just after the arrow.
558 the cursor on the whitespace just after the arrow.
559 2. Type C four times or 4C.
559 2. Type C four times or 4C.
560 3. Type W to select the numbers and brackets.
560 3. Type W to select the numbers and brackets.
@@ -622,7 +622,7 @@ _________________________________________________________________
622 Type t<ch> to do the same, but not including (till) a character.
622 Type t<ch> to do the same, but not including (till) a character.
623 Type uppercase F / T to do the same backwards.
623 Type uppercase F / T to do the same backwards.
624
624
625− 1. Move the cursor to the line below marked -->. Place the
625+ 1. Move the cursor to the line marked '-->' below. Place the
626 cursor on the first dash.
626 cursor on the first dash.
627 2. Type f[ to select to the square bracket.
627 2. Type f[ to select to the square bracket.
628 3. Type d to delete your selection.
628 3. Type d to delete your selection.
@@ -633,7 +633,7 @@ _________________________________________________________________
633 --> -----[Free this sentence of its brackets!]-----
633 --> -----[Free this sentence of its brackets!]-----
634 --> ------Free this sentence of its dashes!------
634 --> ------Free this sentence of its dashes!------
635
635
636− Note: Unlike Vim, Helix doesn't limit these commands to the
636+ Note: Unlike Vim, Helix doesn't limit these commands to the
637 current line. It searches for the character in the file.
637 current line. It searches for the character in the file.
638
638
639=================================================================
639=================================================================
@@ -665,7 +665,7 @@ _________________________________________________________________
665 Type . to repeat the last insert command.
665 Type . to repeat the last insert command.
666 Type A-. to repeat the last f / t selection.
666 Type A-. to repeat the last f / t selection.
667
667
668− 1. Move the cursor to the line below marked -->.
668+ 1. Move the cursor to the line marked '-->' below.
669 2. Make a change, insertion or appendage and repeat it with . .
669 2. Make a change, insertion or appendage and repeat it with . .
670 3. Try using A-. with f and t, to select multiple sentences for
670 3. Try using A-. with f and t, to select multiple sentences for
671 instance.
671 instance.
@@ -708,7 +708,7 @@ _________________________________________________________________
708
708
709 Type R to replace the selection with previously yanked text.
709 Type R to replace the selection with previously yanked text.
710
710
711− 1. Move the cursor to the line below marked -->.
711+ 1. Move the cursor to the line marked '-->' below.
712 2. Type w to select "watermelons" and then y to yank it.
712 2. Type w to select "watermelons" and then y to yank it.
713 3. Select "oranges" with w.
713 3. Select "oranges" with w.
714 4. Type R to replace "oranges" with "watermelons"
714 4. Type R to replace "oranges" with "watermelons"
@@ -730,7 +730,7 @@ _________________________________________________________________
730
730
731 Type J to join together lines in selection.
731 Type J to join together lines in selection.
732
732
733− 1. Move the cursor to the line below marked -->.
733+ 1. Move the cursor to the line marked '-->' below.
734 2. Type x four times or 4x to select all four lines.
734 2. Type x four times or 4x to select all four lines.
735 3. Type J to join the lines together.
735 3. Type J to join the lines together.
736
736
@@ -752,7 +752,7 @@ lines.
752
752
753 Type > to indent a line and < to outdent it.
753 Type > to indent a line and < to outdent it.
754
754
755− 1. Move the cursor to the line below marked -->.
755+ 1. Move the cursor to the line marked '-->' below.
756 2. Move down to the second line and type > to indent it.
756 2. Move down to the second line and type > to indent it.
757 3. Move to the third line and type < to outdent it.
757 3. Move to the third line and type < to outdent it.
758
758
@@ -775,7 +775,7 @@ lines.
775 Type C-a to increment the number under selection.
775 Type C-a to increment the number under selection.
776 Type C-x to decrement the number under selection.
776 Type C-x to decrement the number under selection.
777
777
778− 1. Move the cursor to the third line below marked -->.
778+ 1. Move the cursor to the third line marked '-->' below.
779 2. Type C-a to increment the second point marked 2.
779 2. Type C-a to increment the second point marked 2.
780 3. Repeat for the point marked 3.
780 3. Repeat for the point marked 3.
781 4. Move to the last point and type C-x to decrement the 6.
781 4. Move to the last point and type C-x to decrement the 6.
@@ -823,7 +823,7 @@ lines.
823
823
824 Type "<ch> to select register <ch>.
824 Type "<ch> to select register <ch>.
825
825
826− 1. Move the cursor to the line below marked -->.
826+ 1. Move the cursor to the line marked '-->' below.
827 2. Type w to select "watermelons" and yank with y.
827 2. Type w to select "watermelons" and yank with y.
828 3. Type w to select "bananas".
828 3. Type w to select "bananas".
829 4. Change to register b with "b and yank with y.
829 4. Change to register b with "b and yank with y.
@@ -844,7 +844,7 @@ lines.
844 the bottom of your screen. Type Q again to stop recording.
844 the bottom of your screen. Type Q again to stop recording.
845 Type q to repeat the macro from register @ (the default).
845 Type q to repeat the macro from register @ (the default).
846
846
847− 1. Move the cursor to the first line below marked -->.
847+ 1. Move the cursor to the first line marked '-->' below.
848 Ensure your cursor is on the > of the arrow.
848 Ensure your cursor is on the > of the arrow.
849 2. Type Q to start recording.
849 2. Type Q to start recording.
850 3. Edit the line to look like the bottom one.
850 3. Edit the line to look like the bottom one.
@@ -889,7 +889,7 @@ lines.
889 Type * to copy the primary selection into register /, setting
889 Type * to copy the primary selection into register /, setting
890 the search term to the selection.
890 the search term to the selection.
891
891
892− 1. Move the cursor to the line below marked -->.
892+ 1. Move the cursor to the line marked '-->' below.
893 2. Select "horse" with e and type *.
893 2. Select "horse" with e and type *.
894 3. Use n and N to jump between the instances of "horse".
894 3. Use n and N to jump between the instances of "horse".
895
895
@@ -908,7 +908,7 @@ lines.
908 of moving the selection to the next match, it adds a new
908 of moving the selection to the next match, it adds a new
909 selection on each match.
909 selection on each match.
910
910
911− 1. Move the cursor to the line below marked -->.
911+ 1. Move the cursor to the line marked '-->' below.
912 2. Select the first "bat" and type * to set it to search.
912 2. Select the first "bat" and type * to set it to search.
913 3. Type v to enter select mode.
913 3. Type v to enter select mode.
914 4. Type n to select the other "bat".
914 4. Type n to select the other "bat".
@@ -975,7 +975,7 @@ lines.
975
975
976 Type A-, to remove the primary selection.
976 Type A-, to remove the primary selection.
977
977
978− 1. Move the cursor to the line below marked -->.
978+ 1. Move the cursor to the line marked '-->' below.
979 2. Select both lines with xx or 2x.
979 2. Select both lines with xx or 2x.
980 3. Type s to select, type "would" and enter.
980 3. Type s to select, type "would" and enter.
981 4. Use ( and ) to cycle the primary selection and remove the
981 4. Use ( and ) to cycle the primary selection and remove the
@@ -996,7 +996,7 @@ lines.
996 Type ` to set all selected letters to lowercase.
996 Type ` to set all selected letters to lowercase.
997 Type Alt-` to set all selected letters to uppercase.
997 Type Alt-` to set all selected letters to uppercase.
998
998
999− 1. Move the cursor to the first line below marked -->.
999+ 1. Move the cursor to the first line marked '-->' below.
1000 2. Select each wrongly capitalised or lowercase letter
1000 2. Select each wrongly capitalised or lowercase letter
1001 and type ~ over them.
1001 and type ~ over them.
1002 3. Move to the second line marked -->.
1002 3. Move to the second line marked -->.