From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17368 invoked from network); 3 Nov 2004 12:50:56 -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 12:50:56 -0000 Received: (qmail 23600 invoked from network); 3 Nov 2004 12:50:47 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Nov 2004 12:50:47 -0000 Received: (qmail 25780 invoked by alias); 3 Nov 2004 12:49:57 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8151 Received: (qmail 25759 invoked from network); 3 Nov 2004 12:49:55 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Nov 2004 12:49:55 -0000 Received: (qmail 22045 invoked from network); 3 Nov 2004 12:48:56 -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 12:48:54 -0000 Received: from nicko by localhost with local (Exim 3.36 #1 (Debian)) id 1CPKZP-0004Uv-00 for ; Wed, 03 Nov 2004 23:48:59 +1100 Date: Wed, 3 Nov 2004 23:48:58 +1100 From: Nick Croft To: zsh-users@sunsite.dk Subject: bindkey -v and alt-. for previous cmd arg Message-ID: <20041103124858.GA1476@tandv.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: 23:32:53 up 2 days, 9:18, 9 users, load average: 0.00, 0.00, 0.14 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 Hi zsh users, I've been happily using Zsh for a couple of years, as the most productive shell for my set of habits. I use the vi keymaps -- I emerge from a vim session, issue a few commands and return to vim. It's natural to keep editing the command line in a vi frame of mind. One of the coolest among many cool features of zsh is the trick of reproducing the previous command line argument with alt-. (This may be shared with bash iirc). n@tandv ~ % ls /usr/share/zsh 4.2.1 functions help n@tandv ~ % ls alt-./4.2.1 functions n@tandv ~ % cd alt-. etc etc. This is no longer available. If I get rid of bindkey -v, then it's there. I've spent about 18 hours reading up and googling. I've tried other peoples .zshrcs. Am I the only one using bindkey -v and heavily reliant on getting the previous command argument. (Repeated pressing alt-. gets the argument from the line before, etc). Hope someone can help. Nick