From d28f67623f03ec9905e2e3f10b2f3dd7f61956ca Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 26 Jun 2002 11:07:42 +0000 Subject: two new modes for menu selection: incremental search and interactive (17366) --- Doc/Zsh/compsys.yo | 7 +++++++ Doc/Zsh/mod_complist.yo | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) (limited to 'Doc') diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index d93b691a2..323473dfd 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -1824,6 +1824,13 @@ To turn on menu completion or menu selection when a certain number of matches is generated em(or) the list of matches does not fit onto the screen, both of `tt(yes=)' and `tt(select=)' can be given twice, once with a number and once with `tt(long)' or `tt(long-list)'. + +Finally, the two special modes of menu selection, namely interactive +mode and incremental search can be pre-selected with this style. By +including the word `tt(interactive)' in the value, interactive mode +will be entered immediately when menu selection is started and the +string `tt(search)' does the same for incremental search. To select +backward incremental search, include the string `tt(search-backward)'. ) kindex(muttrc, completion style) item(tt(muttrc))( diff --git a/Doc/Zsh/mod_complist.yo b/Doc/Zsh/mod_complist.yo index cae8cce37..f4a93e32d 100644 --- a/Doc/Zsh/mod_complist.yo +++ b/Doc/Zsh/mod_complist.yo @@ -332,6 +332,22 @@ moves the mark to the next match item(tt(reverse-menu-complete))( moves the mark to the previous match ) +item(tt(viinsert))( +this toggles between normal and interactive mode; in interactive mode +the keys bound to tt(self-insert) and tt(self-insert-unmeta) insert +into the command line as in normal editing mode but without leaving +menu selection; after each character completion is tried again and the +list changes to contain only the new matches; the completion widgets +make the longest unambiguous string be inserted in the command line +and tt(undo) and tt(backward-delete-char) go back to the previous set +of matches +) +item(tt(history-incremental-search-forward), +tt(history-incremental-search-backward))( +this starts incremental searches in the list of completions displayed; +in this mode, tt(accept-line) only leaves incremental search, going +back to the normal menu selection mode +) enditem() All movement functions wrap around at the edges; any other zle function not -- cgit 1.4.1