From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1762 invoked from network); 11 Mar 2004 23:50:33 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Mar 2004 23:50:33 -0000 Received: (qmail 16003 invoked by alias); 11 Mar 2004 23:50:15 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7154 Received: (qmail 15943 invoked from network); 11 Mar 2004 23:50:13 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 11 Mar 2004 23:50:13 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [80.91.224.249] by sunsite.dk (MessageWall 1.0.8) with SMTP; 11 Mar 2004 23:50:13 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B1ZwK-0002UH-00 for ; Fri, 12 Mar 2004 00:50:12 +0100 Received: from isi-dialin-129-211.isionline-dialin.de ([195.158.129.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Mar 2004 00:50:12 +0100 Received: from thorsten by isi-dialin-129-211.isionline-dialin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Mar 2004 00:50:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: Thorsten Kampe Subject: Re: incremental history search Date: Fri, 12 Mar 2004 00:50:05 +0100 Message-ID: <1051dnu0z3qu3.dlg@thorstenkampe.de> References: <1lk8q9de9jvbv.dlg@thorstenkampe.de> <1epb3ga9oumiw$.dlg@thorstenkampe.de> <20040221143934.GB16036@teapot.iano-fletcher.org> <1040221190056.ZM3953@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: isi-dialin-129-211.isionline-dialin.de User-Agent: 40tude_Dialog/2.0.10.1de Sender: news * Bart Schaefer (2004-02-21 20:00 +0100) > On Feb 21, 4:50pm, Thorsten Kampe wrote: > } Both approaches are useful in certain cases but in my opinion the > } dynamic movement to the end of the line is more useful because I > } manipulate the end of commands more often than the beginning. > > See Functions/Zle/history-search-end in the standard distribution. > There's even documentation for it in "man zshcontrib" (the "User > Contributions" section of the info doc). Yep, thanks a lot. "up-line-or-beginning-search" (mentioned in "man zshcontrib" just beneath) is even a little bit more handy than "history-search-end". Now, I've bound "bindkey "\e[A" history-beginning-search-backward" and "bindkey "\e[a" up-line-or-beginning-search" which gives me the choice with the shift key whether the cursor stays where it is or moves to the end of the line (because both approaches are better than the other one sometimes). But the whole thing makes me a little sad that I don't know more of this wonderful tool and environment called 'zsh'. It's an universe of it's own. I read the User's Guide two years ago and still I think that I know not more than twenty percent of zsh. If there ever will be a book on zsh, I'll be the first to buy it. Thorsten