zsh-users
 help / color / mirror / code / Atom feed
From: "Timothy J. Luoma" <luomat@cedman.remote.Princeton.EDU>
To: funa@aa.cs.keio.ac.jp
Cc: zsh-users@math.gatech.edu
Subject: Re: I have a question about zsh's bindkey.
Date: Sun, 17 Sep 1995 13:45:46 -0400 (EDT)	[thread overview]
Message-ID: <Pine.NXT.3.91.950917134037.1414D-100000@capitalist.princeton.edu> (raw)
In-Reply-To: <16038.811357062@aa.cs.keio.ac.jp>


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
> 




  reply	other threads:[~1995-09-17 17:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-17 16:57 Akira Funahashi / 舟橋啓 
1995-09-17 17:45 ` Timothy J. Luoma [this message]
     [not found]   ` <z-code!cedman.remote.Princeton.EDU!luomat>
1995-09-17 18:36     ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.NXT.3.91.950917134037.1414D-100000@capitalist.princeton.edu \
    --to=luomat@cedman.remote.princeton.edu \
    --cc=476tjl@ptsmail.ptsem.edu \
    --cc=funa@aa.cs.keio.ac.jp \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).