From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3970 invoked from network); 6 Apr 1998 21:07:32 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 6 Apr 1998 21:07:32 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id RAA10324; Mon, 6 Apr 1998 17:00:00 -0400 (EDT) Resent-Date: Mon, 6 Apr 1998 16:55:56 -0400 (EDT) Date: Mon, 6 Apr 1998 16:55:23 -0400 (EDT) From: Michael Barnes To: Dima Barsky cc: zsh-users@math.gatech.edu Subject: Re: Tcsh-like history search In-Reply-To: <13608.57067.46439.10085@ukfd-sun10> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: <"MMVXI.0.rV2.R5KAr"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1441 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Here is a snippet from my .zshrc ... bindkey -v # this is for vi bindings bindkey "^K" history-beginning-search-backward # self explanatory bindkey "^J" history-beginning-search-forward # self explanatory I found this in the man pages. Mike On Mon, 6 Apr 1998, Dima Barsky wrote: > Hi there, > > I'm sorry if this question has been asked before, but I'm new to this > list, and I could not find an answer in the FAQ. > > I wonder if it is possible in zsh to emulate the tcsh's > history-search-backward and history-search-forward commands. They are > very similar to zsh history-beginning-search-backward and > history-beginning-search-forward widgets, but tcsh moves the cursor to > the end of the line, rather than leaving it in place. > > Regards, > Dima. >