aboutsummaryrefslogtreecommitdiff
path: root/man/man1
diff options
context:
space:
mode:
authorFazlul Shahriar <fshahriar@gmail.com>2020-01-07 15:02:01 -0500
committerDan Cross <crossd@gmail.com>2020-01-07 15:02:01 -0500
commita4e59b37021326e304c311825ba52a52b02bd9c0 (patch)
tree54973e13210709bde7f83e180ac3f22c1db80e0b /man/man1
parentcf6b778799edf4ebc2331d12707e66e7d38331ea (diff)
downloadplan9port-a4e59b37021326e304c311825ba52a52b02bd9c0.tar.gz
plan9port-a4e59b37021326e304c311825ba52a52b02bd9c0.tar.bz2
plan9port-a4e59b37021326e304c311825ba52a52b02bd9c0.zip
9term: add a "look" menu item (#299)
Add a menu item which functions similar to acme's `Look` command. This is copied from 9front. See: https://code.9front.org/hg/plan9front/rev/1f1596dbca51 https://code.9front.org/hg/plan9front/rev/d2de1d2f7b48
Diffstat (limited to 'man/man1')
-rw-r--r--man/man1/9term.17
1 files changed, 7 insertions, 0 deletions
diff --git a/man/man1/9term.1 b/man/man1/9term.1
index e0e5aad7..b0706139 100644
--- a/man/man1/9term.1
+++ b/man/man1/9term.1
@@ -285,6 +285,13 @@ containing the selection (typing cursor).
A typical use of this feature is to tell the editor to find the source of an error
by plumbing the file and line information in a compiler's diagnostic.
.PP
+The
+.B look
+menu item searches forward for the contents of the selection within
+the window. If a match is found, it becomes the new selection and the
+window scrolls to display it. The search wraps around to the beginning
+of the windows if the end of the window is reached.
+.PP
For systems without a three-button mouse, the keyboard modifier
keys can be used to modify the effect of the main mouse button.
On Unix systems, the Control key changes the main button to button 2,