From: Konstantin Sobolev <kos@supportwizard.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@sunsite.dk
Subject: Re: bindkey to INS
Date: Sat, 24 Sep 2005 16:01:11 +0400 [thread overview]
Message-ID: <20050924120111.GA16463@kos.local> (raw)
In-Reply-To: <1050924020158.ZM13823@candle.brasslantern.com>
Hi Bart Schaefer,
On Sat, Sep 24, 2005 at 02:01:58AM +0000 you wrote:
> On Sep 24, 12:32am, Konstantin Sobolev wrote:
> }
> } Is it possible to bind an INS key to accept-and-menu-complete?
> } All my attempts like
> } bindkey -M menuselect "${key[Insert]}" accept-and-menu-complete
> } doesn't work, pressing Insert just prints a "~".
>
> This appears to be a bug with menu-selection, not with bindkey. I
> can't make any key binding of more than 3 characters work with the
> menuselect keymap. I've tried as far back as zsh-4.0.6, so it is
> not something new with UTF-8 support or the like.
thanks for clarification. Will use "," for now :)
> } Also, is it possible to bind a couple of commands to the same key, like
> } bindkey "^Z" "kill-line; accept-line"?
>
> You need to create a widget.
>
> function accept-leftward {
> zle kill-line
> zle accept-line
> }
> zle -N accept-leftward
> bindkey \^Z accept-leftward
thanks, it works
--
/KoS
* Water + Malt + Hops + Yeast = Satisfaction
next prev parent reply other threads:[~2005-09-24 12:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-23 20:32 Konstantin Sobolev
2005-09-23 23:25 ` Clint Adams
2005-09-24 1:27 ` Konstantin Sobolev
2005-09-24 2:02 ` Clint Adams
2005-09-24 2:01 ` Bart Schaefer
2005-09-24 12:01 ` Konstantin Sobolev [this message]
2005-09-24 6:19 ` Andrey Borzenkov
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=20050924120111.GA16463@kos.local \
--to=kos@supportwizard.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-users@sunsite.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).