From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1893 invoked from network); 5 Apr 2005 07:30:15 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 5 Apr 2005 07:30:15 -0000 Received: (qmail 47168 invoked from network); 5 Apr 2005 07:30:06 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Apr 2005 07:30:06 -0000 Received: (qmail 5044 invoked by alias); 5 Apr 2005 07:29:57 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8657 Received: (qmail 5025 invoked from network); 5 Apr 2005 07:29:56 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 5 Apr 2005 07:29:56 -0000 Received: (qmail 45817 invoked from network); 5 Apr 2005 07:29:56 -0000 Received: from h34-aclarke.sv.meer.net (HELO ofb3.ofb.net) (205.217.153.34) by a.mx.sunsite.dk with SMTP; 5 Apr 2005 07:29:51 -0000 Received: from a5 (unknown [66.81.100.52]) by ofb3.ofb.net (Postfix) with ESMTP id 218D62070169; Tue, 5 Apr 2005 00:29:47 -0700 (PDT) Received: from frederik by a5 with local (Exim 4.44) id 1DIiVI-0002ZO-5u; Tue, 05 Apr 2005 00:29:40 -0700 Date: Tue, 5 Apr 2005 00:29:40 -0700 From: Frederik Eaton To: Antoine Calando Cc: Dominic Mitchell , zsh-users@sunsite.dk Subject: Re: completion for darcs Message-ID: <20050405072940.GA9105@a5.repetae.net> Reply-To: frederik@ofb.net References: <20050401080620.GA16347@vandal.simcon-mt.de> <20050401080914.GB16347@vandal.simcon-mt.de> <424D152C.2030006@free.fr> <20050401123620.GA2607@ppe.happygiraffe.net> <424D4A38.6010607@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <424D4A38.6010607@free.fr> User-Agent: Mutt/1.5.6+20040907i X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Shouldn't it be possible to just tell zsh that when there are no completions for an argument, it should fall back to completing files? There are indeed many commands where I find that "smart" completion is a nuisance. This wouldn't solve the problem for all of them, but it would go a long way. I really don't like completion definitions that, for instance, only let me complete files matching *.mp3. Maybe a separate key binding for 'complete files', as is being discussed, is still the correct solution, I don't know, but it would be nice if some standard key binding were available in the default configuration. Frederik On Fri, Apr 01, 2005 at 03:18:48PM +0200, Antoine Calando wrote: > Dominic Mitchell wrote: > > I don't know whether one exists or not, but you probably won't be able > > to bind to Ctrl-Tab. On all the terminals I have lying around, it > > produces a plain tab for zsh to see. > > With X, It is possible by adding some modifications in .Xdefaults: > > *VT100.Translations: #override\ > Shift ~Ctrl ~Meta BackSpace: string("\033[40;2~") \n > > With the Linux console, you have to modify files used by loadkey. > > I configured my system to use ctrl+arrows to move cursor from word > to word, or ctrl+backspace to delete a full word... it is very handy > and I don't have to remember all that prehistoric shortcuts from > vi/emacs ;-) > > Antoine > -- http://ofb.net/~frederik/