zsh-users
 help / color / mirror / code / Atom feed
From: Andy Spiegl <zsh.Andy@spiegl.de>
To: zsh-users@sunsite.auc.dk
Subject: Re: is there a mix of history-search-backward and history-beginning-search-backward
Date: Wed, 8 Sep 1999 17:55:03 +0200	[thread overview]
Message-ID: <19990908175503.K8577@br-online.de> (raw)
In-Reply-To: <199909081527.RAA19661@paris.ifh.de>; from Peter Stephenson on Wed, Sep 08, 1999 at 05:27:57PM +0200

Hi Peter,

thanks a lot!  I am (once again) impressed by the possibilities of zsh!
Just one problem:
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'

I am fairly new to zsh and haven't really understood the concept of
loadable functions...

> I assume you're using zsh 3.1,
3.1.6 even.

> # function history-beginning-search-forward-end {
I removed the comment sign, too.

Thanks again!
 Andy.

-- 
 E-Mail: Andy@spiegl.de     URL: http://andy.spiegl.de
 Finger pgp.andy@spiegl.de for my PGP key
                                o      _     _         _
  --------- __o       __o      /\_   _ \\o  (_)\__/o  (_)
  ------- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/
  ------ (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 But he was probably like most CS majors:  spending all the time in the 
 computer labs, eating out of vending machines, majoring in the four major 
 food groups: sugar, starch, chocolate and caffeine, he probably was 5'6" 
 and weighed 250, with a face like a pepperoni pizza behind Coke bottles.  


  reply	other threads:[~1999-09-08 15:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-03 11:04 Andy Spiegl
1999-09-08 13:02 ` Andy Spiegl
1999-09-08 15:27   ` Peter Stephenson
1999-09-08 15:55     ` Andy Spiegl [this message]
1999-09-08 16:18       ` Oliver Kiddle
1999-09-08 16:58       ` unsubscribe tbabin@nortelnetworks.com Timothy Babin
1999-09-11 22:58     ` is there a mix of history-search-backward and history-beginning-search-backward Bart Schaefer
1999-09-08 15:55   ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990908175503.K8577@br-online.de \
    --to=zsh.andy@spiegl.de \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).