Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Are completions in some way heavy?

On 10 June 2016 at 19:42, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> You have to bind a key in the menuselect keymap, e.g.,
>     bindkey -M menuselect ^S history-incremental-search-forward
>     bindkey -M menuselect ^R history-incremental-search-backward

Cannot bind Ctrl-S here, but Ctrl-F works fine

> } would like to leave completion on space
>     bindkey -M menuselect ' ' accept-line
> (But then you can't search the descriptions for multiple word phrases.)

I can even do:

bindkey -M menuselect ' ' 'accept-line ; accept-line'

which ends search instantly (normally that are two spaces). Didn't recognize
this well yet, but it seems to work good

> } don't get what "interactive" mode is.
> It's like search, except instead of displaying the whole menu and
> searching through it, the list of possible matches is narrowed down
> as you type.  THIS mode definitely does NOT search descriptions, and
> if both interactive and search are specified, interactive wins.

Too bad for the descriptions, it would be an interesting
functionality. This is rather important, e.g. doing ps -<TAB> and
searching for "format", nice thing

Best regards,
Sebastian Gniazdowski

Messages sorted by: Reverse Date, Date, Thread, Author