From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18590 invoked from network); 14 Mar 2005 16:58:51 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 14 Mar 2005 16:58:51 -0000 Received: (qmail 72595 invoked from network); 14 Mar 2005 16:58:45 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 14 Mar 2005 16:58:45 -0000 Received: (qmail 19028 invoked by alias); 14 Mar 2005 16:58:38 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8604 Received: (qmail 19013 invoked from network); 14 Mar 2005 16:58:37 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 14 Mar 2005 16:58:37 -0000 Received: (qmail 71523 invoked from network); 14 Mar 2005 16:58:37 -0000 Received: from b8e35.b.pppool.de (HELO solfire) (213.7.142.53) by a.mx.sunsite.dk with SMTP; 14 Mar 2005 16:58:25 -0000 Received: from [127.0.0.1] (helo=localhost) by solfire with esmtp (Exim 4.42) id 1DAstf-0003NN-JN; Mon, 14 Mar 2005 17:58:28 +0100 Date: Mon, 14 Mar 2005 17:58:27 +0100 (CET) Message-Id: <20050314.175827.41633885.Meino.Cramer@gmx.de> To: phil@fifi.org Cc: zsh-users@sunsite.dk From: Meino Christian Cramer In-Reply-To: <871xaiu0w7.fsf@ceramic.fifi.org> References: <20050314.053746.74750222.Meino.Cramer@gmx.de> <871xaiu0w7.fsf@ceramic.fifi.org> X-Mailer: Mew version 4.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Rcpt-To: phil@fifi.org, zsh-users@sunsite.dk X-SA-Exim-Mail-From: Meino.Cramer@gmx.de Subject: Re: ESC-Question Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.1+cvs (built Sat, 28 Aug 2004 13:10:40 +0200) X-SA-Exim-Scanned: Yes (on solfire) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-0.8 required=6.0 tests=AWL,BAYES_00, RCVD_IN_NJABL_DUL,WEIRD_QUOTING autolearn=no version=3.0.2 X-Spam-Hits: -0.8 From: Philippe Troin Subject: Re: ESC-Question Date: 13 Mar 2005 23:44:56 -0800 Hi Phil ! Thanks a lot for the hint...gives me a whole lotta more of space (new lines) for nice zshish code ! :) Sometimes (often!) just the simple things are makeing life so much easier ! ;O))))))) Keep zshing! Meino PS: Just cause I am a little curious... :) Under Emacs each keycode is bound to a named function like forward-search-regexp and such...what is the corresponding function in zsh? insert-line ? Or what is its name ? > Meino Christian Cramer 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 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. >