From: Sami Samhuri <sami@no-eff-eks.com>
To: zsh-users@sunsite.dk
Subject: Re: ESC-Question
Date: Mon, 14 Mar 2005 02:01:38 -0800 [thread overview]
Message-ID: <20050314100138.GO12196@no-eff-eks.com> (raw)
In-Reply-To: <20050314.053746.74750222.Meino.Cramer@gmx.de>
[-- Attachment #1: Type: text/plain, Size: 962 bytes --]
* On Mon Mar-14-2005 at 05:37:46 AM +0100, Meino Christian Cramer said:
> Hi,
[...]
> 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 ?
Not as visually appealing, but you can separate commands using the
semi-colon. So when you hit C-p and want to add another command just
type a ; first and then continue with the next command.
Another way to do it is using zsh's history expansion[1].
!! recalls the previous command so you can type:
% !! ; <next command line to execute>
I know this is not what you asked for, but I hope this helps a bit.
[1] I don't want to rant because I'm really fond of history expn, but
you should look into them further at:
http://zsh.sunsite.dk/Doc/Release/zsh_13.html#SEC48
--
Sami Samhuri
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2005-03-14 10:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-10 18:42 Ex-bash script for optimisation Meino Christian Cramer
2005-03-11 5:14 ` Bart Schaefer
2005-03-11 18:37 ` TAB-expansion problems Meino Christian Cramer
2005-03-12 9:15 ` Tim Kruse
2005-03-13 4:50 ` Bart Schaefer
2005-03-13 8:54 ` Meino Christian Cramer
2005-03-13 17:21 ` Bart Schaefer
2005-03-14 4:37 ` ESC-Question Meino Christian Cramer
2005-03-14 7:44 ` ESC-Question Philippe Troin
2005-03-14 16:58 ` ESC-Question Meino Christian Cramer
2005-03-14 17:09 ` ESC-Question Peter Stephenson
2005-03-14 17:22 ` ESC-Question Meino Christian Cramer
2005-03-14 18:18 ` ESC-Question Philippe Troin
2005-03-14 10:01 ` Sami Samhuri [this message]
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=20050314100138.GO12196@no-eff-eks.com \
--to=sami@no-eff-eks.com \
--cc=zsh-users@sunsite.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).