diff options
author | echometerain <70437021+echometerain@users.noreply.github.com> | 2024-10-27 09:50:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-27 06:50:17 -0700 |
commit | 45e319ade6392aa7ec2cc7e639d0821efd7f2444 (patch) | |
tree | 833fdf0bfbeffca9b31fc1ecf3584a569834b1f0 /runtime/tutor/en/vim-01-beginner.tutor | |
parent | b136a9ee4c5689c655713ab006be84ae9e7a313a (diff) | |
download | rneovim-45e319ade6392aa7ec2cc7e639d0821efd7f2444.tar.gz rneovim-45e319ade6392aa7ec2cc7e639d0821efd7f2444.tar.bz2 rneovim-45e319ade6392aa7ec2cc7e639d0821efd7f2444.zip |
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
Diffstat (limited to 'runtime/tutor/en/vim-01-beginner.tutor')
-rw-r--r-- | runtime/tutor/en/vim-01-beginner.tutor | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/tutor/en/vim-01-beginner.tutor b/runtime/tutor/en/vim-01-beginner.tutor index e6b81d63b9..95d4f4eafd 100644 --- a/runtime/tutor/en/vim-01-beginner.tutor +++ b/runtime/tutor/en/vim-01-beginner.tutor @@ -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. |