Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Menu-driven version of history-beginning-search-backward
- X-seq: zsh-users 10568
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx (Zsh users list)
- Subject: Re: Menu-driven version of history-beginning-search-backward
- Date: Mon, 31 Jul 2006 15:55:33 +0100
- In-reply-to: <20060731143834.GA27832@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <200607261638.k6QGcE7E010498@xxxxxxxxxxxxxx> <dc507f4a0607270901r5a4c19f2n20a895b8a831ab3@xxxxxxxxxxxxxx> <200607271653.k6RGrCIk003550@xxxxxxxxxxxxxx> <20060731143834.GA27832@xxxxxxxxx>
Andy Spiegl wrote:
> Is it very hard to make it use a menu where you can move around the
> possible completions with the cursor keys, instead of having to type the
> corresponding number? I mean, just like the "normal" completion menu.
Unfortunately, yes. Bart's version of menu-driven history (which he
posted a pointer to) does this because it uses a completion widget; but
using a completion widget gives you less flexibility about altering the
command line, so it can't fully emulate the "history-beginning-..."
behaviour.
As I briefly mentioned to zsh-workers, there is nothing so sophisticated
as an API to use the menu selection code for completion from outside it.
It would be nice to have, though.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
Messages sorted by:
Reverse Date,
Date,
Thread,
Author