Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Selfwritten widget won't bind to keymap
- X-seq: zsh-users 13155
- From: "xRaich[o]²x" <raichoo@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Selfwritten widget won't bind to keymap
- Date: Sun, 24 Aug 2008 17:46:23 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=/SguUQpfLfq7ZFLsObLNzHEG/UHhMHt6bON3+bNAjB0=; b=PlBnJY9NsZmf4BRqtwN104Aa6dcIhwQQOo9/Q+gZXYGBL82dia8sOcJkrZCNX/47dj hE/0zR6JLsoi5PTRHwz4pYmtEU3TXYgaau/h+n0RH0nekc09ETePM9cp68nl2CyoTr8Z PR5KoKAZMTfLrpYZEfFNokMhB+d9Q9zLJPiB4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=KH6TBvbwCjvJ7wdDzgoy7/fTfmuQMaaczzPuKkolzUib4e4prRap/PeT+luk7IEu68 bY0J6luo/WfEW0hrRXtv8ydEmCnfptBPZoEAHsjGkZpLsd4WyPJ7QNK6jsBqaYMCQhav rvZGBO9aZVQlA/da9S7sNh+1kN/EIf/duelcg=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi,
I'm having the following problem. I'm trying to do something like this:
function tester()
{
zle undo
zle accept-line
}
zle -N tester
bindkey -M menuselect "i" tester
This won't bind to the desired key (it lists in the keybindings but doesn't
execute when pressing the i-key) , but doing something like
bindkey -M menuselect "u" undo
works.
I find this VERY confusing. What am i doing wrong?
Regards,
Björn
Messages sorted by:
Reverse Date,
Date,
Thread,
Author