Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ESC-Question
- X-seq: zsh-users 8601
- From: Philippe Troin <phil@xxxxxxxx>
- To: Meino Christian Cramer <Meino.Cramer@xxxxxx>
- Subject: Re: ESC-Question
- Date: 13 Mar 2005 23:44:56 -0800
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20050314.053746.74750222.Meino.Cramer@xxxxxx>
- Mail-copies-to: nobody
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050314.053746.74750222.Meino.Cramer@xxxxxx>
Meino Christian Cramer <Meino.Cramer@xxxxxx> writes:
> Suppose I am builing up a short """""script""""" on the commandline:
> A simple loop over filenames for example.
>
> After first run of the script I want to add another line to that
> script.
>
> Scrolling back in history gives me the whole script nicely printed in
> several lines (NOT on a loooooong one-liner! What a nice zshish
> feature!).
>
> With EMACS-related keys I easily can step through the lines...BUT how
> can I open a NEW line? My workaround is a way really hurtung an
> EMACS-freak like me (at this point of the text of my mail there is a
> BIG HUGH SMILEY!):
>
> I hit ALT-x (execute) and enter the command
>
> vi-open-line-above (...-below)
>
> because the simple <RETURN> at the and of the line will execute the
> script again....
>
> Is there a Emacs-keybinding or Emacs-related command to open a line ?
C-v C-j
Or substitute whichever character is your tty's lnext char (as can
been seen from stty -a).
Alternately, M-Enter always creates a new line without submitting the
input for processing.
Phil.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author