From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id DAA27794 for ; Mon, 18 Sep 1995 03:46:55 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA26289 (5.65c/Gatech-10.0-IDA for ); Sun, 17 Sep 1995 13:49:32 -0400 Received: by math (5.x/SMI-SVR4) id AA18405; Sun, 17 Sep 1995 13:43:36 -0400 Old-Return-Path: Resent-Date: Sun, 17 Sep 1995 13:45:46 -0400 (EDT) Old-Return-Path: Date: Sun, 17 Sep 1995 13:45:46 -0400 (EDT) From: "Timothy J. Luoma" Reply-To: 476tjl@ptsmail.ptsem.edu To: funa@aa.cs.keio.ac.jp Cc: zsh-users@math.gatech.edu Subject: Re: I have a question about zsh's bindkey. In-Reply-To: <16038.811357062@aa.cs.keio.ac.jp> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-Id: <"STUrm1.0.EV4.2v5Nm"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/90 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Ah I had the same problem. Add this to one of your zsh dotfiles (.zshrc or .zshenv I guess): # Leave =/&; out of WORDCHARS so ^W acts more nicely # -- still not ideal WORDCHARS='*?_-.[]~\!#$%^(){}<>|`@#$%^*()+:?' I'm not sure how this works, because the "/" isn't even listed in the WORDCHAR, but it does work. It doesn't seem to stop at the characters as I think it should (it doesn't stop at a "." in the middle of a word) but it will stop at the "/" as you described (see below) TjL -- Timothy J. Luoma NeXT 3.2 m68k First Try: luomat@capitalist.princeton.edu If that fails: 476tjl@ptsmail.ptsem.edu (after Sept 15th 95) NOTE: 476tjl is ASCII only!!!!!! > Date: Mon, 18 Sep 1995 01:57:42 +0900 > To: zsh-users@math.gatech.edu > Subject: I have a question about zsh's bindkey. > > I have a question about zsh's bindkey. > When using tcsh(tcsh-6.05), I wrote my bindkeys like this. > > (.tcshrc) bindkey ^W backward-delete-word > > And when I press ^W like this situation, it works as follows. > > (tcsh)% ls /usr/local/bin/^W > | > v > (tcsh)% ls /usr/local/ > > I think it is very useful and I want to use this in zsh. > But in zsh(I'm using zsh-2.6-beta8),even if I wrote in .zshrc like this, > > (.zshrc) bindkey "^W" backward-delete-word > > it doesn't work like tcsh, only works like this. > > (zsh)% ls /usr/local/bin/^W > | > v > (zsh)% ls > > Could someone help me???? > ------- > Akira Funahashi (funa@aa.cs.keio.ac.jp) > Amano laboratory, Dept. of computer science > Keio University, JAPAN >