From a4e59b37021326e304c311825ba52a52b02bd9c0 Mon Sep 17 00:00:00 2001 From: Fazlul Shahriar Date: Tue, 7 Jan 2020 15:02:01 -0500 Subject: 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 --- man/man1/9term.1 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'man/man1/9term.1') 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, -- cgit v1.2.3