From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9952 invoked from network); 3 Nov 2004 19:46:43 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Nov 2004 19:46:43 -0000 Received: (qmail 45183 invoked from network); 3 Nov 2004 19:46:37 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Nov 2004 19:46:37 -0000 Received: (qmail 22158 invoked by alias); 3 Nov 2004 19:45:48 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8153 Received: (qmail 22142 invoked from network); 3 Nov 2004 19:45:47 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Nov 2004 19:45:47 -0000 Received: (qmail 43722 invoked from network); 3 Nov 2004 19:44:48 -0000 Received: from 220-244-116-62-nsw.tpgi.com.au (HELO localhost) (220.244.116.62) by a.mx.sunsite.dk with SMTP; 3 Nov 2004 19:44:46 -0000 Received: from nicko by localhost with local (Exim 3.36 #1 (Debian)) id 1CPR3k-0004xI-00; Thu, 04 Nov 2004 06:44:44 +1100 Date: Thu, 4 Nov 2004 06:44:44 +1100 From: Nick Croft To: DervishD , zsh-users@sunsite.dk Subject: Re: bindkey -v and alt-. for previous cmd arg Message-ID: <20041103194444.GB1476@tandv.ws> References: <20041103124858.GA1476@tandv.ws> <20041103135335.GB22247@DervishD> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20041103135335.GB22247@DervishD> X-Editor: Vim http://www.vim.org/ X-Info: http://www.tandv.ws/ Organisation: Theme and Variations X-Operating-System: Debian GNU/Linux 2.4.21-xfs (i686) X-Uptime: 06:38:05 up 2 days, 16:23, 9 users, load average: 1.86, 0.98, 0.98 User-Agent: Mutt/1.5.6+20040523i 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 * DervishD (zsh@dervishd.net) ha dicho: > =20 > I don't use zsh 4.2.x yet, but it seems that your problem is that > 'Alt-.' is no longer bound in the 'viins' keymap. Do it yourself: >=20 > bindkey -m viins '\e.' insert-last-word >=20 > Note that I've used 'Esc-.' instead of 'Alt-.' because I don't > know how to bind Alt sequences :? In fact, 'insert-last-word' is > bound to 'Esc-.' by default in 4.0.9 >=20 > Hope this helps. >=20 Thanks Ra=FAl -=20 That DID help. Actually zsh didn't accept so many arguments, so=20 I used "bindkey '\e.' insert-last-word". This seems to allow the widget to be used with alt as well. Back to work now! Great. Nick --=20 /* _\|/_ (o o) +----oOO-{_}-OOo------------------------------+ |Piano Technician - Theme & Variations, Sydney| +--------------------------------------------*/