zsh-users
 help / color / mirror / code / Atom feed
* using vi-keys or cursor to go back a line?
@ 2000-03-10 15:19 Matthias Kopfermann
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Kopfermann @ 2000-03-10 15:19 UTC (permalink / raw)
  To: zsh-users

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?

Matthias

--
Zsh-Page for german zsh-beginners is here:
http://www.infodrom.north.de/~matthi/zsh/

  


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: using vi-keys or cursor to go back a line?
@ 2000-03-10 15:46 Sven Wischnowsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2000-03-10 15:46 UTC (permalink / raw)
  To: zsh-users


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@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-03-10 15:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-10 15:19 using vi-keys or cursor to go back a line? Matthias Kopfermann
2000-03-10 15:46 Sven Wischnowsky

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).