From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13833 invoked from network); 21 Jan 2003 01:58:57 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 21 Jan 2003 01:58:57 -0000 Received: (qmail 21420 invoked by alias); 21 Jan 2003 01:58:30 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5786 Received: (qmail 21409 invoked from network); 21 Jan 2003 01:58:29 -0000 X-MessageWall-Score: 0 (sunsite.dk) Message-ID: <20030121015830.14414.qmail@web12302.mail.yahoo.com> Date: Mon, 20 Jan 2003 20:58:30 -0500 (EST) From: Le Wang Subject: RE: more interactive menu completion To: Zsh users list In-Reply-To: <15916.3294.277354.209012@wischnow.berkom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Sven Wischnowsky wrote: > > Borzenkov Andrey wrote: > > > > > > > I'm using menu completion now, and I absolutely > love > > > it. However I was just thinking that all of my > > > keyboard keys are unmapped during menu > completion, so > > > wouldn't it be nice if I could press 'abc', and > have > > > the selection go to the first file starting with > an > > > 'abc'? This is very much like the way modern > file > > > managers work (e.g. Explorer, Konqueror, etc), > except > > > they only match the first letter. > > > > > > It would be great if this kind of widget can be > > > refined to do substring matching as well. Does > this > > > kind of completion scheme currently exist for > Zsh? > > > > > > > There is incremental-complete-word widget that > does what you want. I do not > > know if it is widely used, so your comments would > be welcome. > > In the development version, there is also > incremental mode of menu > selection, see the docs for the `complist' module > and for the new > completion system (under the `menu' style). That is very nice. The functionality is exactly what I had in mind. Once again, I'm very impressed with Zsh! :) One note about the user interface of this "interactive" menu completion mode: Why have a 'vi-insert' key binding at all? I don't see any reason for it. IMHO "interactive" mode should be able to be toggled on or off permanently (maybe throuth styles). cheers. -- Le ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca