From: Peter Stephenson <pws@ifh.de>
To: Zsh users mailing list <zsh-users@math.gatech.edu>
Subject: Re: How to kill string but leave it in history?
Date: Thu, 16 Jan 1997 14:54:23 +0100 [thread overview]
Message-ID: <199701161354.OAA12628@sgi.ifh.de> (raw)
In-Reply-To: "Andrej Borsenkow"'s message of "Thu, 16 Jan 1997 16:36:19 MET." <Pine.SV4.3.95.970116163150.21461K-100000@itsrm1.mow.sni.de>
Andrej Borsenkow wrote:
> 1. It doesn't work with multiline command (sorry, I had to be more precise
> on this). E.g.
This gets tricky, because there's currently no reliable way of going to the
beginning/end of the buffer or even of the line: if you're there already,
the corresponding commands take you somewhere else. So I've just set it
to go to 100 end/beginning of lines to get to the end/beginning of the
buffer. That's not very nice. Perhaps Zefram has some plans for this.
bindkey -s '\C-X\C-H' '\M-1\M-0\M-0\C-e\C-@\M-1\M-0\M-0\C-a print -s \M-"\C-M'
> 2. It echows the whole command (well, rather cosmetic).
There's no builtin command you can use, so you have to trick it somehow.
I can't see any way of avoiding this.
--
Peter Stephenson <pws@ifh.de> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
next prev parent reply other threads:[~1997-01-16 13:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-01-16 10:59 Andrej Borsenkow
1997-01-16 12:15 ` Peter Stephenson
1997-01-16 13:36 ` Andrej Borsenkow
1997-01-16 13:54 ` Peter Stephenson [this message]
1997-01-16 14:02 ` Juergen Christoffel
1997-01-16 14:40 ` Zefram
1997-01-16 16:27 ` Roderick Schertler
1997-01-16 16:37 ` Zefram
1997-01-16 17:41 ` Roderick Schertler
[not found] ` <pws@ifh.de>
[not found] ` <roderick@gate.net>
[not found] ` <zefram@dcs.warwick.ac.uk>
1997-01-16 18:21 ` Bart Schaefer
1997-01-16 18:39 ` Zefram
1997-01-17 9:05 ` Bart Schaefer
1997-01-16 19:21 ` Roderick Schertler
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=199701161354.OAA12628@sgi.ifh.de \
--to=pws@ifh.de \
--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).