on master help sign in
Added REPLACE and moved SELECTING TO A CHARACTER into the same chapter.
68acdbbn0s4
runtime/tutor.txt+57−13
@@ -593,7 +593,29 @@ _________________________________________________________________
593
593
594
594
595=================================================================
595=================================================================
596+= CHAPTER 5 RECAP =
597+=================================================================
598+
599+ * Type C to copy the current selection to below and Alt-C for
600+ above.
601+
602+ * Type s to select all instances of a regex pattern inside
603+ the current selection.
604+
605+ * Type & to align selections.
606+
607+ * Type A-s to split the selection into lines.
608+
609+
610+
611+
612+
613+
614+
615+
616+
617+=================================================================
596−= 5.6 SELECTING TO A CHARACTER =
618+= 6.1 SELECTING TO A CHARACTER =
597=================================================================
619=================================================================
598
620
599 Type f<ch> to select up to and including (find) a character.
621 Type f<ch> to select up to and including (find) a character.
@@ -615,29 +637,51 @@ _________________________________________________________________
615 current line. It searches for the character in the file.
637 current line. It searches for the character in the file.
616
638
617=================================================================
639=================================================================
618−= CHAPTER 5 RECAP =
640+= 6.2 THE REPLACE COMMAND =
619=================================================================
641=================================================================
620
642
621− * Type C to copy the current selection to below and Alt-C for
643+ Type r<ch> to replace all selected characters with <ch>.
622− above.
623
644
624− * Type s to select all instances of a regex pattern inside
645+ 1. Move to the second line of the table, place the cursor on the
625− the current selection.
646+ first =.
647+ 2. Type t| (Shift-\) to select the = separator.
648+ 3. Type r- to replace the separator with dashes.
626
649
627− * Type & to align selections.
628
650
629− * Type A-s to split the selection into lines.
651+ | Month | Days |
652+ |=======|------|
653+ | Jan | 31 |
654+ | Feb | 28 |
655+ | Mar | 31 |
656+ | ... | ... |
657+
658+
659+
660+
661+=================================================================
662+= CHAPTER 6 RECAP =
663+=================================================================
630
664
631 * Type f / F to extend selection up to & including a character.
665 * Type f / F to extend selection up to & including a character.
632
666
633 * Type t / T to extend selection until a character.
667 * Type t / T to extend selection until a character.
634
668
669+ * Type r to replace selected characters.
670+
671+
672+
673+
674+
675+
676+
677+
678+
635
679
636
680
637
681
638
682
639=================================================================
683=================================================================
640−= 6.1 CHANGING CASE =
684+= 7.1 CHANGING CASE =
641=================================================================
685=================================================================
642
686
643 Type ~ to switch the case of all selected letters.
687 Type ~ to switch the case of all selected letters.
@@ -659,7 +703,7 @@ _________________________________________________________________
659 --> THIS sentence should ALL BE IN uppercase!
703 --> THIS sentence should ALL BE IN uppercase!
660
704
661=================================================================
705=================================================================
662−= 6.2 MACROS =
706+= 7.2 MACROS =
663=================================================================
707=================================================================
664
708
665 Macros are a way to record a set of actions you want to repeat.
709 Macros are a way to record a set of actions you want to repeat.
@@ -703,7 +747,7 @@ _________________________________________________________________
703
747
704
748
705=================================================================
749=================================================================
706−= 7.1 USING THE JUMPLIST =
750+= 8.1 USING THE JUMPLIST =
707=================================================================
751=================================================================
708
752
709 Helix can keep track of "jumps" which are big movements, like
753 Helix can keep track of "jumps" which are big movements, like
@@ -747,7 +791,7 @@ _________________________________________________________________
747
791
748
792
749=================================================================
793=================================================================
750−= 8.1 JOINING LINES =
794+= 9.1 JOINING LINES =
751=================================================================
795=================================================================
752
796
753 Type J to join together lines in selection.
797 Type J to join together lines in selection.
@@ -769,7 +813,7 @@ lines.
769
813
770
814
771=================================================================
815=================================================================
772−= 8.2 INDENTING LINES =
816+= 9.2 INDENTING LINES =
773=================================================================
817=================================================================
774
818
775 Type > to indent a line and < to outdent it.
819 Type > to indent a line and < to outdent it.