From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20011 invoked from network); 8 Sep 1999 16:19:16 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 8 Sep 1999 16:19:16 -0000 Received: (qmail 6773 invoked by alias); 8 Sep 1999 16:18:54 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2585 Received: (qmail 6764 invoked from network); 8 Sep 1999 16:18:52 -0000 Message-ID: <37D68C4E.FB7C02BA@u.genie.co.uk> Date: Wed, 08 Sep 1999 17:18:22 +0100 From: Oliver Kiddle X-Mailer: Mozilla 4.61 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Andy Spiegl CC: zsh-users@sunsite.auc.dk Subject: Re: is there a mix of history-search-backward and history-beginning-search-backward References: <19990908150213.D4878@br-online.de> <199909081527.RAA19661@paris.ifh.de> <19990908175503.K8577@br-online.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Andy Spiegl wrote: > how do I set the functions up so that I can bind them to my keys? > I put the file into ~/.zsh.funcs/ directory, autoloaded it and > called bindkey: > bindkey "^P" history-beginning-search-backward-end > bindkey "^N" history-beginning-search-forward-end > > But when I press ^P I get to see: > No such widget `history-beginning-search-backward-end' You need to do: zle -N history-beginning-search-backward-end before the bindkey. Oliver Kiddle