From: Mads Martin Joergensen <mmj@suse.de>
To: Peter Stephenson <pws@csr.com>
Cc: Zsh users list <zsh-users@sunsite.dk>
Subject: Re: backward kill
Date: Thu, 15 Nov 2001 16:34:40 +0100 [thread overview]
Message-ID: <20011115163440.N14280@staudinger.suse.de> (raw)
In-Reply-To: <15066.1005837719@csr.com>
* Peter Stephenson <pws@csr.com> [Nov 15. 2001 16:22]:
> > with the prompt at the end, and I press alt-backspace, the whole path is
> > wiped out. I would like it to just remove backwards to the last (first
> > from the end) slash. How could I accomplish this?
>
> Use the bash-backward-kill-word widget, supplied with 4.0 and 4.1. (The
> other bash-* variants are only supplied with 4.1).
Cannot seem to get that working, and the manpage mentions nothing
about it?
(mmj@staudinger) ~> echo $ZSH_VERSION
4.0.4
(mmj@staudinger) ~> echo $ZSHEDIT
emacs
(mmj@staudinger) ~> cat .zshrc | grep bash
bindkey "^[^[[D" bash-backward-kill-word
And when I hit ESC left-arrow:
No such widget `bash-backward-kill-word'
--
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogic, with just a little bit more effort."
-- A. P. J.
next prev parent reply other threads:[~2001-11-15 15:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-15 15:05 Jesper Holmberg
2001-11-15 15:21 ` Peter Stephenson
2001-11-15 15:34 ` Mads Martin Joergensen [this message]
2001-11-15 15:40 ` Peter Stephenson
2001-11-15 15:46 ` Jesper Holmberg
2001-11-15 17:01 ` Will Yardley
2001-11-15 18:43 ` Jesper Holmberg
-- strict thread matches above, loose matches on Subject: below --
2001-11-15 15:02 Jesper Holmberg
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=20011115163440.N14280@staudinger.suse.de \
--to=mmj@suse.de \
--cc=pws@csr.com \
--cc=zsh-users@sunsite.dk \
/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).