From 21d12e1487f98b5dea93eba7bdc53d303932f990 Mon Sep 17 00:00:00 2001 From: nosa <96927121+n0s4@users.noreply.github.com> Date: Thu, 16 Jun 2022 23:28:55 +0100 Subject: [PATCH] Restore section spacing in tutor. (#2791) --- runtime/tutor.txt | 96 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 75 insertions(+), 21 deletions(-) diff --git a/runtime/tutor.txt b/runtime/tutor.txt index d531dab8..c9e23ad4 100644 --- a/runtime/tutor.txt +++ b/runtime/tutor.txt @@ -20,7 +20,6 @@ _________________________________________________________________ the first lesson. - ================================================================= = 1.1 BASIC CURSOR MOVEMENT = ================================================================= @@ -39,6 +38,10 @@ _________________________________________________________________ + + + + ================================================================= = 1.2 EXITING HELIX = ================================================================= @@ -57,6 +60,10 @@ _________________________________________________________________ + + + + ================================================================= = 1.3 DELETION = ================================================================= @@ -75,6 +82,10 @@ _________________________________________________________________ + + + + ================================================================= = 1.4 INSERT MODE = ================================================================= @@ -97,8 +108,6 @@ _________________________________________________________________ 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 = ================================================================= @@ -121,8 +130,6 @@ _________________________________________________________________ --> This sentence is miss This sentence is missing some text. - - ================================================================= = 1.6 SAVING A FILE = ================================================================= @@ -162,13 +169,11 @@ _________________________________________________________________ * Type i to enter Insert mode and type text. Type to return to Normal mode. - * Use a to enter Insert mode after the current selection - instead of before. + * Use a to enter Insert mode after the current selection. * Use I to enter Insert mode at the first non-whitespace character at the start of a line. * Use A to enter Insert mode at the end of a line. - ================================================================= = 2.1 MOTIONS AND SELECTIONS = ================================================================= @@ -189,6 +194,8 @@ _________________________________________________________________ This sentence has extra words in it. + + ================================================================= = 2.2 MORE ON MOTIONS = ================================================================= @@ -232,6 +239,7 @@ _________________________________________________________________ + ================================================================= = 2.4 COUNTS WITH MOTIONS = ================================================================= @@ -248,6 +256,12 @@ _________________________________________________________________ + + + + + + ================================================================= = 2.5 SELECTING LINES = ================================================================= @@ -269,6 +283,7 @@ _________________________________________________________________ + ================================================================= = 2.6 UNDOING = ================================================================= @@ -286,6 +301,11 @@ _________________________________________________________________ + + + + + ================================================================= = CHAPTER 2 RECAP = ================================================================= @@ -308,7 +328,6 @@ _________________________________________________________________ * Type u to undo. Type U to redo. - ================================================================= = 3.1 MULTIPLE CURSORS = ================================================================= @@ -330,10 +349,6 @@ _________________________________________________________________ Fix these two lines at the same time. Note: Type alt-C to do the same above the cursor. - Note: This also works for selections, but it will pick the first - line that fits the entire selection at the same column. - - ================================================================= = 3.2 THE SELECT COMMAND = @@ -354,6 +369,9 @@ _________________________________________________________________ I like to eat oranges since my favourite fruit is oranges. + + + ================================================================= = 3.3 SELECTING VIA REGEX = ================================================================= @@ -394,6 +412,10 @@ _________________________________________________________________ + + + + ================================================================= = 3.5 SELECTING TO A CHARACTER = ================================================================= @@ -416,8 +438,6 @@ _________________________________________________________________ Note: Unlike Vim, Helix doesn't limit these commands to the current line. It searches for the character in the file. - - ================================================================= = CHAPTER 3 RECAP = ================================================================= @@ -436,6 +456,10 @@ _________________________________________________________________ + + + + ================================================================= = 4.1 COPYING AND PASTING TEXT = ================================================================= @@ -458,8 +482,6 @@ _________________________________________________________________ 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 = ================================================================= @@ -482,8 +504,6 @@ _________________________________________________________________ --> this SENTENCE SHOULD all be in LOWERCASE. --> THIS sentence should ALL BE IN uppercase! - - ================================================================= = 4.3 MACROS = ================================================================= @@ -506,8 +526,6 @@ _________________________________________________________________ --> ... sentence doesn't have it's first and last ... . This sentence doesn't have it's first and last word. - - ================================================================= = CHAPTER 4 RECAP = ================================================================= @@ -525,6 +543,11 @@ _________________________________________________________________ + + + + + ================================================================= = 5.1 USING THE JUMPLIST = ================================================================= @@ -545,6 +568,8 @@ _________________________________________________________________ + + ================================================================= = 5.2 SEARCHING IN FILE = ================================================================= @@ -566,6 +591,7 @@ _________________________________________________________________ + ================================================================= = CHAPTER 5 RECAP = ================================================================= @@ -578,6 +604,16 @@ _________________________________________________________________ + + + + + + + + + + ================================================================= = 6.1 JOINING LINES = ================================================================= @@ -599,6 +635,7 @@ lines. + ================================================================= = 6.2 INDENTING LINES = ================================================================= @@ -619,6 +656,8 @@ lines. + + ================================================================= = 6.3 OPENING LINES = ================================================================= @@ -633,6 +672,14 @@ lines. + + + + + + + + ================================================================= = CHAPTER 6 RECAP = ================================================================= @@ -648,6 +695,13 @@ lines. + + + + + + + ================================================================= This tutorial is still a work-in-progress. More sections are planned.