Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
configuration question
- X-seq: zsh-workers 7377
- From: Wim Yedema <yedema@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: configuration question
- Date: 05 Aug 1999 15:33:22 +0200
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I'd like replace self-insert with a function that automatically
does something like "history-beginning-search-backward" the problem
with this is that it beeps when nothing is found and that the current
history number changes, meaning that every time I type something I
go backwards in the history even if the character that I type suits
the current history event just fine.
I tried something like this
---
insert-and-predict () {
LBUFFER="$LBUFFER$KEYS"
RBUFFER=""
zle history-beginning-search-backward
}
autoload insert-and-predict
zle -N self-insert insert-and-predict
---
can someone stop the beep and give me the right behaviour?
wim yedema
Messages sorted by:
Reverse Date,
Date,
Thread,
Author