summaryrefslogtreecommitdiffstats
path: root/man/man1/acme.1
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2024-06-15 10:55:21 -0400
committerRuss Cox <rsc@golang.org>2024-06-15 10:57:45 -0400
commit0c79c32675e83ff3d87d5bf52082652d85486a45 (patch)
tree8b7042e878874a1ed870f26571b7a2383be231f1 /man/man1/acme.1
parent60ca2be037f739e30daba1dc5b66a166fcdc0bf2 (diff)
downloadplan9port-0c79c32675e83ff3d87d5bf52082652d85486a45.tar.gz
plan9port-0c79c32675e83ff3d87d5bf52082652d85486a45.zip
acme: shift button 3 for reverse search
An experiment. Let's see if it's any good. Also document the Mac conventions in devdraw(3).
Diffstat (limited to 'man/man1/acme.1')
-rw-r--r--man/man1/acme.15
1 files changed, 5 insertions, 0 deletions
diff --git a/man/man1/acme.1 b/man/man1/acme.1
index 852a8f7f..bb2c89d6 100644
--- a/man/man1/acme.1
+++ b/man/man1/acme.1
@@ -588,6 +588,9 @@ not just
or
.BR 127 .
(There is an easier way to locate literal text; see below.)
+If shift is held down during the selection or click,
+any leading regular expression search defaults to
+searching backward in the text instead of forward.
.PP
If the text is a file name followed by a colon and an address,
.I acme
@@ -608,6 +611,8 @@ moved there. Thus, to search for occurrences of a word in a file,
just click button 3 on the word. Because of the rule of using the
selection as the button 3 action, subsequent clicks will find subsequent
occurrences without moving the mouse.
+If shift is held down during the selection or click,
+the search looks backward in the file.
.PP
In all these actions, the mouse motion is not done if the text is a null string
within a non-null selected string in the tag, so that (for example) complex regular expressions