Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: up-line-or-search question
- X-seq: zsh-users 4709
- From: Anthony R Iano-Fletcher <Anthony.Iano-Fletcher@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: up-line-or-search question
- Date: Wed, 27 Feb 2002 10:00:40 -0500
- In-reply-to: <20020227154425.M5514@xxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20020227143627.F5514@xxxxxxxxxxx> <3C7CED18.mail4KQ11CK3F@xxxxxxxxxxxx> <20020227154425.M5514@xxxxxxxxxxx>
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@xxxxxxx
http://cbel.cit.nih.gov/~arif
CBEL, CIT, NIH, Bethesda, MD, USA.
Phone: (+1) 301 402 1741.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author