Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: using vi-keys or cursor to go back a line?
- X-seq: zsh-users 2961
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: using vi-keys or cursor to go back a line?
- Date: Fri, 10 Mar 2000 16:46:10 +0100 (MET)
- In-reply-to: Matthias Kopfermann's message of Fri, 10 Mar 2000 16:19:41 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
Matthias Kopfermann wrote:
> hi list,
>
> one thing that i seem to not get:
> how can i do something like the following:
>
> /home/matthias% echo "
> this
> is
> just
> a
> test << at this point i want to go back and change
> this with that. but with k or cursor-back i get history,
> not line, so then i hit contrl-c and everything is fine,
> when i go back a line now.
> i just thought , there might be a better way
> and i am nearly sure, i overlooked something,
> right?
Yep. Almost. You can bind push-line-or-edit to your key of choice and
then use that key to get the lines into one buffer where you can go up
with the normal cursor movement keys.
There is no zle function that allows to go up to previous lines
directly while at the secondary prompt.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author