From 4e76436b204db04ebc32e1436519b24317d103f3 Mon Sep 17 00:00:00 2001 From: n0s4 Date: Sun, 26 Jun 2022 13:25:25 +0100 Subject: [PATCH] Add 'ADDING SELECTION ON NEXT SEARCH MATCH' --- runtime/tutor.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/runtime/tutor.txt b/runtime/tutor.txt index eb4846d87..92edfeaf8 100644 --- a/runtime/tutor.txt +++ b/runtime/tutor.txt @@ -900,6 +900,28 @@ lines. copy the selection into the / register. +================================================================= += 9.2 ADDING SELECTION ON NEXT SEARCH MATCH = +================================================================= + + A property of select mode (v) when using n and N is that instead + of moving the selection to the next match, it adds a new + selection on each match. + + 1. Move the cursor to the line below marked -->. + 2. Select the first "bat" and type * to set it to search. + 3. Type v to enter select mode. + 4. Type n twice to select the next two "bat"s. + 5. Use c or r to change every "bat" to "cat". + + --> Everybody wants to be a bat, + --> because a bat's the only bat + --> who knows where it's at. + + + + + ================================================================= = 10.1 CHANGING CASE = =================================================================