Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: is there a mix of history-search-backward and history-beginning-search-backward
- X-seq: zsh-users 2585
- From: Oliver Kiddle <opk@xxxxxxxxxxxxx>
- To: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- Subject: Re: is there a mix of history-search-backward and history-beginning-search-backward
- Date: Wed, 08 Sep 1999 17:18:22 +0100
- Cc: zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <19990908150213.D4878@xxxxxxxxxxxx> <199909081527.RAA19661@xxxxxxxxxxxx> <19990908175503.K8577@xxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author