Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: tab during menu completion
- X-seq: zsh-users 6659
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: tab during menu completion
- Date: Tue, 7 Oct 2003 14:38:05 +0000
- In-reply-to: <9938.1065518102@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <Pine.GSO.4.53.0310061622270.6541@xxxxxxxxxxxxxxxxxx> <9938.1065518102@xxxxxxxxxxx>
On Oct 7, 11:15am, Oliver Kiddle wrote:
}
} > zstyle ':completion:*' menu yes=2 select=2 interactive
}
} What does that `interactive' word in the style do? I can't find it in
} the manual but if you remove it, the bug goes away. Any idea where you
} got that from?
It's in the manual for 4.1.1-dev, last paragraph under the 'menu' style:
Finally, it is possible to activate two special modes of menu
selection. The word `interactive' in the value causes interactive
mode to be entered immediately when menu selection is started; see
*Note The zsh/complist Module:: for a description of interactive
mode. Including the string `search' does the same for incremental
search mode. To select backward incremental search, include the
string `search-backward'.
And in the zsh/complist section:
vi-insert
this toggles between normal and interactive mode; in interactive
mode the keys bound to self-insert and 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 undo and backward-delete-char go back to the
previous set of matches
I don't think this mode has ever been very thoroughly tested. It was one
of the last things Sven put it before he became too busy with work to be
contributing regularly.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author