on master help sign in
Add 'ALIGN SELECTIONS' and 'SPLIT SELECTIONS ON LINES'
commit1fed3a22202a97781696788607d0d1f9099d1d6b authorn0s4 <joemckay3006@gmail.com> dateFri 17 Jun 2022, 20:26 (4 years ago) parent15e1a0e
1 file changed+51−7
runtime/tutor.txt+51−7
runtime/tutor.txt+51−7
@@ -549,7 +549,51 @@ _________________________________________________________________
549549
550550
551551=================================================================
552−= 5.4 SELECTING TO A CHARACTER =
552+= 5.4 ALIGN SELECTIONS =
553+=================================================================
554+
555+ Type & to align the contents of the selections.
556+
557+ 1. Move the cursor to the first line below marked -->.
558+ 2. Type C four times or 4C.
559+ 3. Type W until the cursors are between the numbers and the words.
560+ 4. Type & to align the words.
561+
562+ --> 97) lorem
563+ --> 98) ipsum
564+ --> 99) dolor
565+ --> 100) sit
566+ --> 101) amet
567+
568+
569+
570+
571+
572+
573+=================================================================
574+= 5.5 SPLIT SELECTION INTO LINES =
575+=================================================================
576+
577+ Type A-s (Alt-s) to split the selection(s) on newlines.
578+
579+ 1. Move the first row of the table below.
580+ 2. Select the entire table with 6x.
581+ 3. Type A-s to split into selections at each line.
582+ 4. Align the table with &.
583+
584+ | FRUIT | AMOUNT |
585+ |---------|--------|
586+ | Apples | 8 |
587+ | Bananas | 6 |
588+ | Oranges | 3 |
589+ | Donuts | 4 |
590+
591+
592+
593+
594+
595+=================================================================
596+= 5.6 SELECTING TO A CHARACTER =
553597=================================================================
554598
555599 Type f<ch> to select up to and including (find) a character.
@@ -580,20 +624,20 @@ _________________________________________________________________
580624 * Type s to select all instances of a regex pattern inside
581625 the current selection.
582626
583− * Type f / F to extend selection up to & including a character.
584−
585− * Type t / T to extend selection until a character.
586−
627+ * Type & to align selections.
587628
629+ * Type A-s to split the selection into lines.
588630
631+ * Type f / F to extend selection up to & including a character.
589632
633+ * Type t / T to extend selection until a character.
590634
591635
592636
593637
594638
595639=================================================================
596−= 6.2 CHANGING CASE =
640+= 6.1 CHANGING CASE =
597641=================================================================
598642
599643 Type ~ to switch the case of all selected letters.
@@ -615,7 +659,7 @@ _________________________________________________________________
615659 --> THIS sentence should ALL BE IN uppercase!
616660
617661=================================================================
618−= 6.3 MACROS =
662+= 6.2 MACROS =
619663=================================================================
620664
621665 Macros are a way to record a set of actions you want to repeat.