From: Anthony R Iano-Fletcher <Anthony.Iano-Fletcher@cbel.cit.nih.gov>
To: zsh-users@sunsite.auc.dk
Subject: Re: up-line-or-search question
Date: Wed, 27 Feb 2002 10:00:40 -0500 [thread overview]
Message-ID: <20020227150039.GA25676@argo.cit.nih.gov> (raw)
In-Reply-To: <20020227154425.M5514@lifebits.de>
Dominik does seem to be correct.
> > With that keybindings you can. The history...search widgets
> > navigate just like up and down when the prompt is empty.
>
> Nope. I tried it, but it doesn't work. When I hit Up/Down in a
> multi line command, a history search is performed.
I have
"^N" history-beginning-search-forward
"^P" history-beginning-search-backward
"^[OA" up-line-or-history
"^[OB" down-line-or-history
"^[[A" up-line-or-history
"^[[B" down-line-or-history
ie ^P and ^N bound to the history-begining-search-* versions and the
arrow keys on my keyboard bound to *-line-or-history.
When I'm in a multi-line command ^P does try to search back in the history
which is what Dominik is seeing.
This doesn't worry me because after using ^P to get the multiline command
I wanted I naturally swap to using the arrow keys to edit it.
I'm using zsh version 4.0.4.
Is there an easy way for Dominik to add this 'up/down-line'
functionallity using the widget stuff?
Anthony.
--
Anthony R Iano-Fletcher Anthony.Iano-Fletcher@nih.gov
http://cbel.cit.nih.gov/~arif
CBEL, CIT, NIH, Bethesda, MD, USA.
Phone: (+1) 301 402 1741.
next prev parent reply other threads:[~2002-02-27 15:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-27 8:14 Dominik Vogt
2002-02-27 9:24 ` Goran Koruga
2002-02-27 13:36 ` Dominik Vogt
[not found] ` <3C7CED18.mail4KQ11CK3F@viadomus.com>
2002-02-27 14:44 ` Dominik Vogt
2002-02-27 15:00 ` Anthony R Iano-Fletcher [this message]
2002-02-27 16:16 ` Bart Schaefer
2002-02-27 16:08 ` Oliver Kiddle
2002-02-28 6:41 ` Dominik Vogt
2002-02-28 7:52 ` Dominik Vogt
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=20020227150039.GA25676@argo.cit.nih.gov \
--to=anthony.iano-fletcher@cbel.cit.nih.gov \
--cc=zsh-users@sunsite.auc.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).