From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20139 invoked from network); 4 Nov 2004 12:01:37 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 Nov 2004 12:01:37 -0000 Received: (qmail 84792 invoked from network); 4 Nov 2004 12:01:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Nov 2004 12:01:29 -0000 Received: (qmail 25767 invoked by alias); 4 Nov 2004 12:00:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8166 Received: (qmail 25731 invoked from network); 4 Nov 2004 12:00:37 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 4 Nov 2004 12:00:37 -0000 Received: (qmail 83550 invoked from network); 4 Nov 2004 12:00:37 -0000 Received: from ns9.hostinglmi.net (213.194.149.146) by a.mx.sunsite.dk with SMTP; 4 Nov 2004 12:00:35 -0000 Received: from 212.red-80-35-44.pooles.rima-tde.net ([80.35.44.212]:60723 helo=dervishd.net) by ns9.hostinglmi.net with esmtpa (Exim 4.43) id 1CPgI5-0002fv-I7; Thu, 04 Nov 2004 13:00:34 +0100 Date: Thu, 4 Nov 2004 13:03:06 +0100 From: DervishD To: Nick Croft Cc: zsh-users@sunsite.dk Subject: Re: bindkey -v and alt-. for previous cmd arg Message-ID: <20041104120306.GC23778@DervishD> Mail-Followup-To: Nick Croft , zsh-users@sunsite.dk References: <20041103124858.GA1476@tandv.ws> <20041103135335.GB22247@DervishD> <20041103194444.GB1476@tandv.ws> <20041103195700.GA23399@DervishD> <20041103200138.GA23419@DervishD> <20041104114333.GC1476@tandv.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20041104114333.GC1476@tandv.ws> User-Agent: Mutt/1.4.2.1i Organization: DervishD X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns9.hostinglmi.net X-AntiAbuse: Original Domain - sunsite.dk X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - dervishd.net X-Source: X-Source-Args: X-Source-Dir: X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 Hi Nick :) * Nick Croft dixit: > > In fact you can do both things at once: > > bindkey -M viins '\e.' insert-last-word > Yes! And from my recent reading I see that if you bind a key to Esc using > \e it will be mapped to alt as well. That doesn't happen in my system, I think that's due the keymap settings (I refer to the Linux keymap, not the zsh one). > My initial results wre done on an xterm+zsh which has been running since > before the "upgrade" from zsh_4.0.4 to zsh_4.2.1. I couldn't duplicate the > success on a new zsh-session. Mmm... Have you tested that the ESC-. combo works? Could you post the output of 'bindkey'? I think that it may have to do with the map... I've never use vi keymap under zsh, and maybe you should set the binding in the 'vicmd' map, and not in 'viins' map (or maybe in both of them!). > I have 5 machines, router, laptop, work desktop, test machine, and main > machine. Unfortunately the one I use all the time is the one I can't get to > behave! That's very weird :? > Secondly, I have to leave town for three days, so I can't work on this for a > while. You may notice me back on Monday. OK. > It's all very strange, and to me buggy. I've noticed with some other > software that 'progress' can mean the loss of the features I like best. This feature in particular should work, it's no more than a key combo (and works here with 4.0.9). Let's discover the problem :) Have fun :) Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.dervishd.net & http://www.pleyades.net/