feat(tutor): give hints to satisfy the line checker #30952

Problem: novice users relying on vimtutor won't know what to do when they follow the instructions and delete a couple lines and that breaks the line checker

Solution: tell the user to fix the line numbers after they're done
This commit is contained in:
echometerain 2024-10-27 09:50:17 -04:00 committed by GitHub
parent b136a9ee4c
commit 45e319ade6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -302,7 +302,7 @@ it would be easier to simply type two d's to delete a line.
3. Now move to the fourth line.
4. Type `2dd`{normal} to delete two lines.
4. Type `2dd`{normal} to delete two lines, then press `u`{normal} twice to undo all three lines.
1) Roses are red,
2) Mud is fun,
@ -689,7 +689,7 @@ NOTE: Pressing [v](v) starts [Visual selection](visual-mode). You can move the c
1. Place the cursor just above this line.
NOTE: After executing Step 2 you will see text from Lesson 5.3. Then move
DOWN to see this lesson again.
DOWN to see this lesson again. Press `u`{normal} to undo after you are done.
2. Now retrieve your TEST file using the command
@ -736,12 +736,12 @@ NOTE: You can also read the output of an external command. For example,
2. Type the lowercase letter `o`{normal} to [open](o) up a line BELOW the
cursor and place you in Insert mode.
3. Now type some text and press `<Esc>`{normal} to exit Insert mode.
3. Now type some text and press `<Esc>`{normal} to exit Insert mode. Remove your opened lines after you're done.
After typing `o`{normal} the cursor is placed on the open line in Insert mode.
4. To open up a line ABOVE the cursor, simply type a [capital O](O), rather
than a lowercase `o`{normal}. Try this on the line below.
than a lowercase `o`{normal}. Try this on the line below. Remove your opened lines after you're done.
Open up a line above this by typing O while the cursor is on this line.