summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/tutor.txt21
1 files 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 <ENTER> 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 <ESC>.
+ To exit Command mode without entering a command, type <ESC>.
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 <ENTER> 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.