zsh-users
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-users@sunsite.auc.dk
Subject: Re: using vi-keys or cursor to go back a line?
Date: Fri, 10 Mar 2000 16:46:10 +0100 (MET)	[thread overview]
Message-ID: <200003101546.QAA08870@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Matthias Kopfermann's message of Fri, 10 Mar 2000 16:19:41 +0100


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


             reply	other threads:[~2000-03-10 15:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-10 15:46 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-03-10 15:19 Matthias Kopfermann

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=200003101546.QAA08870@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --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).