From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21588 invoked from network); 27 Feb 2002 15:01:11 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 27 Feb 2002 15:01:11 -0000 Received: (qmail 16450 invoked by alias); 27 Feb 2002 15:00:47 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4709 Received: (qmail 16423 invoked from network); 27 Feb 2002 15:00:44 -0000 Date: Wed, 27 Feb 2002 10:00:40 -0500 From: Anthony R Iano-Fletcher To: zsh-users@sunsite.auc.dk Subject: Re: up-line-or-search question Message-ID: <20020227150039.GA25676@argo.cit.nih.gov> Mail-Followup-To: zsh-users@sunsite.auc.dk References: <20020227143627.F5514@lifebits.de> <3C7CED18.mail4KQ11CK3F@viadomus.com> <20020227154425.M5514@lifebits.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020227154425.M5514@lifebits.de> User-Agent: Mutt/1.3.25i Dominik does seem to be correct. > > With that keybindings you can. The history...search widgets > > navigate just like up and down when the prompt is empty. > > Nope. I tried it, but it doesn't work. When I hit Up/Down in a > multi line command, a history search is performed. I have "^N" history-beginning-search-forward "^P" history-beginning-search-backward "^[OA" up-line-or-history "^[OB" down-line-or-history "^[[A" up-line-or-history "^[[B" down-line-or-history ie ^P and ^N bound to the history-begining-search-* versions and the arrow keys on my keyboard bound to *-line-or-history. When I'm in a multi-line command ^P does try to search back in the history which is what Dominik is seeing. This doesn't worry me because after using ^P to get the multiline command I wanted I naturally swap to using the arrow keys to edit it. I'm using zsh version 4.0.4. Is there an easy way for Dominik to add this 'up/down-line' functionallity using the widget stuff? Anthony. -- Anthony R Iano-Fletcher Anthony.Iano-Fletcher@nih.gov http://cbel.cit.nih.gov/~arif CBEL, CIT, NIH, Bethesda, MD, USA. Phone: (+1) 301 402 1741.