Skip to content

Commit

Permalink
Cleanup for runtime/tutor.txt (helix-editor#2590)
Browse files Browse the repository at this point in the history
  • Loading branch information
kappq authored and lazytanuki committed Jun 21, 2022
1 parent f744dd8 commit 5fe4b66
Showing 1 changed file with 14 additions and 84 deletions.
98 changes: 14 additions & 84 deletions runtime/tutor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ _________________________________________________________________
the first lesson.



=================================================================
= 1.1 BASIC CURSOR MOVEMENT =
=================================================================
Expand All @@ -38,10 +39,6 @@ _________________________________________________________________







=================================================================
= 1.2 EXITING HELIX =
=================================================================
Expand All @@ -60,10 +57,6 @@ _________________________________________________________________







=================================================================
= 1.3 DELETION =
=================================================================
Expand All @@ -80,12 +73,6 @@ _________________________________________________________________









=================================================================
= 1.4 INSERT MODE =
=================================================================
Expand All @@ -108,6 +95,8 @@ _________________________________________________________________
Note: The status bar will display your current mode.
Notice that when you type i, 'NOR' changes to 'INS'.



=================================================================
= 1.5 MORE ON INSERT MODE =
=================================================================
Expand All @@ -130,6 +119,8 @@ _________________________________________________________________
--> This sentence is miss
This sentence is missing some text.



=================================================================
= 1.6 SAVING A FILE =
=================================================================
Expand Down Expand Up @@ -176,8 +167,6 @@ _________________________________________________________________
* Use A to enter Insert mode at the end of a line.




=================================================================
= 2.1 MOTIONS AND SELECTIONS =
=================================================================
Expand All @@ -198,8 +187,6 @@ _________________________________________________________________





=================================================================
= 2.2 MORE ON MOTIONS =
=================================================================
Expand Down Expand Up @@ -243,29 +230,22 @@ _________________________________________________________________




=================================================================
= 2.4 COUNTS WITH MOTIONS =
=================================================================

Type a number before a motion to repeat it that many times.

1. Move the cursor to the line below marked -->.

2. Type 2w to move 2 words forward.

3. Type 3e to move to the end of the third word forward.

4. Type 2b to move 2 words backwards

5. Try the above with different numbers.

--> This is just a line with words you can move around in.





=================================================================
= 2.5 SELECTING LINES =
=================================================================
Expand All @@ -287,7 +267,6 @@ _________________________________________________________________




=================================================================
= 2.6 UNDOING =
=================================================================
Expand All @@ -305,11 +284,6 @@ _________________________________________________________________








=================================================================
= CHAPTER 2 RECAP =
=================================================================
Expand All @@ -332,6 +306,7 @@ _________________________________________________________________
* Type u to undo. Type U to redo.



=================================================================
= 3.1 MULTIPLE CURSORS =
=================================================================
Expand Down Expand Up @@ -377,9 +352,6 @@ _________________________________________________________________






=================================================================
= 3.3 SELECTING VIA REGEX =
=================================================================
Expand All @@ -401,7 +373,6 @@ _________________________________________________________________




=================================================================
= 3.4 COLLAPSING SELECTIONS =
=================================================================
Expand All @@ -420,10 +391,6 @@ _________________________________________________________________







=================================================================
= 3.5 SELECTING TO A CHARACTER =
=================================================================
Expand All @@ -446,6 +413,8 @@ _________________________________________________________________
Note: Unlike Vim, Helix doesn't limit these commands to the
current line. It searches for the character in the file.



=================================================================
= CHAPTER 3 RECAP =
=================================================================
Expand All @@ -464,10 +433,6 @@ _________________________________________________________________







=================================================================
= 4.1 COPYING AND PASTING TEXT =
=================================================================
Expand All @@ -490,6 +455,8 @@ _________________________________________________________________
Note: Helix doesn't share the system clipboard by default. Type
space-y/p to yank/paste on your computer's main clipboard.



=================================================================
= 4.2 CHANGING CASE =
=================================================================
Expand All @@ -512,6 +479,8 @@ _________________________________________________________________
--> this SENTENCE SHOULD all be in LOWERCASE.
--> THIS sentence should ALL BE IN uppercase!



=================================================================
= 4.3 MACROS =
=================================================================
Expand All @@ -534,6 +503,8 @@ _________________________________________________________________
--> ... sentence doesn't have it's first and last ... .
This sentence doesn't have it's first and last word.



=================================================================
= CHAPTER 4 RECAP =
=================================================================
Expand All @@ -551,11 +522,6 @@ _________________________________________________________________








=================================================================
= 5.1 USING THE JUMPLIST =
=================================================================
Expand All @@ -576,8 +542,6 @@ _________________________________________________________________





=================================================================
= 5.2 SEARCHING IN FILE =
=================================================================
Expand All @@ -599,7 +563,6 @@ _________________________________________________________________




=================================================================
= CHAPTER 5 RECAP =
=================================================================
Expand All @@ -612,16 +575,6 @@ _________________________________________________________________













=================================================================
= 6.1 JOINING LINES =
=================================================================
Expand All @@ -641,9 +594,6 @@ lines.






=================================================================
= 6.2 INDENTING LINES =
=================================================================
Expand All @@ -664,8 +614,6 @@ lines.





=================================================================
= 6.3 OPENING LINES =
=================================================================
Expand All @@ -680,14 +628,6 @@ lines.











=================================================================
= CHAPTER 6 RECAP =
=================================================================
Expand All @@ -703,16 +643,6 @@ lines.










=================================================================
This tutorial is still a work-in-progress.
More sections are planned.



0 comments on commit 5fe4b66

Please sign in to comment.