From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26018 invoked from network); 5 Dec 2003 11:06:57 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 5 Dec 2003 11:06:57 -0000 Received: (qmail 9904 invoked by alias); 5 Dec 2003 11:06:28 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6843 Received: (qmail 9890 invoked from network); 5 Dec 2003 11:06:28 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 5 Dec 2003 11:06:28 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [80.91.224.249] by sunsite.dk (MessageWall 1.0.8) with SMTP; 5 Dec 2003 11:6:27 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ASDn1-0005Ra-00 for ; Fri, 05 Dec 2003 12:06:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ASDn0-0005RS-00 for ; Fri, 05 Dec 2003 12:06:26 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ASDn0-0005xW-00 for ; Fri, 05 Dec 2003 12:06:26 +0100 From: zzapper Subject: Re: Why doesn't cd ignore files when you type say "cd fred*" Date: Fri, 05 Dec 2003 11:06:21 +0000 Message-ID: <9hp0tv0i0066fbbh857hklmcs43v78u67d@4ax.com> References: <4222.1070552274@csr.com> <2542.1070621678@gmcs3.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Newsreader: Forte Free Agent 1.93/32.576 English (American) Sender: news On Fri, 05 Dec 2003 11:54:38 +0100, Oliver Kiddle wrote: So if I was to >do `cd fred*' and then press escape *, it would just complete the >directory. I think this below is the relevant setup code I use. You may >want to adjust the first zstyle and do without the second. > >bindkey '\e*' match-word >zstyle ':completion:match-word::::' completer _all_matches _match _ignored >zstyle ':completion:match-word:*' match-original both >zle -C match-word complete-word _generic Oliver that works great but what is all that gobbledegook? zzapper -- vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?" http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips