From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 From: Mark van Atten Date: Fri, 13 Jan 2017 11:45:15 +0100 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [9fans] A simple trick for search/replace Topicbox-Message-UUID: b18c9c66-ead9-11e9-9d60-3106f5b1d025 I sometimes do a (repeated) search/replace on a single character, for examp= le /`/ c/=E2=80=98/ The above are applied using chording, with an Edit in the relevant window; the search/replace is split into two separate commands so I can check the instances. But depending on the width of the character searched for and the light conditions, I may find myself spending too much time trying to see where in the window the highlighted character found by /`/ actually is. Appending -+ to the search will highlight the whole line instead; and prepending x/`/ to the replacement command will then replace the instance found on that line. /`/-+ x/`/c/=E2=80=98/ Mark.