From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8616 invoked from network); 10 Mar 2000 15:46:27 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Mar 2000 15:46:27 -0000 Received: (qmail 2678 invoked by alias); 10 Mar 2000 15:46:12 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2961 Received: (qmail 2670 invoked from network); 10 Mar 2000 15:46:11 -0000 Date: Fri, 10 Mar 2000 16:46:10 +0100 (MET) Message-Id: <200003101546.QAA08870@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-users@sunsite.auc.dk In-reply-to: Matthias Kopfermann's message of Fri, 10 Mar 2000 16:19:41 +0100 Subject: Re: using vi-keys or cursor to go back a line? 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