vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 2bc71c77ffd2c7c74e2f5546baaadd88dbc01d31
parent c83602b97dad756106dea3da248aa5145436680b
Author: Tim Allen <screwtape@froup.com>
Date:   Sat, 28 May 2016 18:10:56 +1000

[vis-menu] Document the initial-filter parameter.

Diffstat:
Mvis-menu.1 | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/vis-menu.1 b/vis-menu.1 @@ -12,6 +12,7 @@ .Op Fl t | Fl b .Op Fl p Ar prompt .Op Fl l Ar lines +.Op Ar initial .Nm vis-menu .Op Fl v @@ -61,6 +62,13 @@ If there are more than items in the list, the user can scroll through them with the arrow keys, just like in the regular horizontal mode. +.It Ar initial +The user can type into a text field +to filter the list of items +as well as scrolling through them. +If supplied, +.Ar initial +is used as the initial content of the text field. .It Fl v Instead of displaying an interactive menu, .Nm vis-menu