Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#289748: zsh: menu navigation is suboptimal
- X-seq: zsh-workers 20672
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: "Benjamin Hill (Mako)" <mako@xxxxxxxxxx>, 289748@xxxxxxxxxxxxxxx
- Subject: Re: Bug#289748: zsh: menu navigation is suboptimal
- Date: Tue, 11 Jan 2005 10:39:04 +0100
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <E1Co5Md-0003xr-00@nozomi>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <E1Co5Md-0003xr-00@nozomi>
You wrote:
> The effect of this is that it can make it very hard to select the last
> item in a long multi-column menu of completions. For date-based
> organization of data in a directory, this can be particularly
> frustrating.
It is possible to get straight to the last item from the first by using
the reverse-menu-complete editor command. I bind that to shift-tab:
bindkey '\e[Z' reverse-menu-complete
For the behaviour you want, with the up and down keys, you can try the
following bindings:
bindkey -M menuselect '\e[B' menu-complete
bindkey -M menuselect '\e[A' reverse-menu-complete
Note that your terminal may generate different escape sequences from
those keys.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author