diff options
author | Kappa | 2022-06-13 15:12:13 +0000 |
---|---|---|
committer | GitHub | 2022-06-13 15:12:13 +0000 |
commit | d7bd4416754fb4e3051c3ceedd5fd525b0361ef8 (patch) | |
tree | ca4d0540e4cb22732e9f7db7b65d06fc1bbd9999 | |
parent | 3b2d4031f11b9c3ea676c49aa83e3fdf71353b17 (diff) |
Cleanup for runtime/tutor.txt (#2590)
-rw-r--r-- | runtime/tutor.txt | 98 |
1 files changed, 14 insertions, 84 deletions
diff --git a/runtime/tutor.txt b/runtime/tutor.txt index f21f5aa7..bb426867 100644 --- a/runtime/tutor.txt +++ b/runtime/tutor.txt @@ -20,6 +20,7 @@ _________________________________________________________________ the first lesson. + ================================================================= = 1.1 BASIC CURSOR MOVEMENT = ================================================================= @@ -38,10 +39,6 @@ _________________________________________________________________ - - - - ================================================================= = 1.2 EXITING HELIX = ================================================================= @@ -60,10 +57,6 @@ _________________________________________________________________ - - - - ================================================================= = 1.3 DELETION = ================================================================= @@ -80,12 +73,6 @@ _________________________________________________________________ - - - - - - ================================================================= = 1.4 INSERT MODE = ================================================================= @@ -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 = ================================================================= @@ -130,6 +119,8 @@ _________________________________________________________________ --> This sentence is miss This sentence is missing some text. + + ================================================================= = 1.6 SAVING A FILE = ================================================================= @@ -176,8 +167,6 @@ _________________________________________________________________ * Use A to enter Insert mode at the end of a line. - - ================================================================= = 2.1 MOTIONS AND SELECTIONS = ================================================================= @@ -198,8 +187,6 @@ _________________________________________________________________ - - ================================================================= = 2.2 MORE ON MOTIONS = ================================================================= @@ -243,7 +230,6 @@ _________________________________________________________________ - ================================================================= = 2.4 COUNTS WITH MOTIONS = ================================================================= @@ -251,21 +237,15 @@ _________________________________________________________________ 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 = ================================================================= @@ -287,7 +267,6 @@ _________________________________________________________________ - ================================================================= = 2.6 UNDOING = ================================================================= @@ -305,11 +284,6 @@ _________________________________________________________________ - - - - - ================================================================= = CHAPTER 2 RECAP = ================================================================= @@ -332,6 +306,7 @@ _________________________________________________________________ * Type u to undo. Type U to redo. + ================================================================= = 3.1 MULTIPLE CURSORS = ================================================================= @@ -377,9 +352,6 @@ _________________________________________________________________ - - - ================================================================= = 3.3 SELECTING VIA REGEX = ================================================================= @@ -401,7 +373,6 @@ _________________________________________________________________ - ================================================================= = 3.4 COLLAPSING SELECTIONS = ================================================================= @@ -420,10 +391,6 @@ _________________________________________________________________ - - - - ================================================================= = 3.5 SELECTING TO A CHARACTER = ================================================================= @@ -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 = ================================================================= @@ -464,10 +433,6 @@ _________________________________________________________________ - - - - ================================================================= = 4.1 COPYING AND PASTING TEXT = ================================================================= @@ -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 = ================================================================= @@ -512,6 +479,8 @@ _________________________________________________________________ --> this SENTENCE SHOULD all be in LOWERCASE. --> THIS sentence should ALL BE IN uppercase! + + ================================================================= = 4.3 MACROS = ================================================================= @@ -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 = ================================================================= @@ -551,11 +522,6 @@ _________________________________________________________________ - - - - - ================================================================= = 5.1 USING THE JUMPLIST = ================================================================= @@ -576,8 +542,6 @@ _________________________________________________________________ - - ================================================================= = 5.2 SEARCHING IN FILE = ================================================================= @@ -599,7 +563,6 @@ _________________________________________________________________ - ================================================================= = CHAPTER 5 RECAP = ================================================================= @@ -612,16 +575,6 @@ _________________________________________________________________ - - - - - - - - - - ================================================================= = 6.1 JOINING LINES = ================================================================= @@ -641,9 +594,6 @@ lines. - - - ================================================================= = 6.2 INDENTING LINES = ================================================================= @@ -664,8 +614,6 @@ lines. - - ================================================================= = 6.3 OPENING LINES = ================================================================= @@ -680,14 +628,6 @@ lines. - - - - - - - - ================================================================= = CHAPTER 6 RECAP = ================================================================= @@ -703,16 +643,6 @@ lines. - - - - - - - ================================================================= This tutorial is still a work-in-progress. More sections are planned. - - - |