From: "David Gómez" <david@pleyades.net>
To: Zsh-users <zsh-users@sunsite.dk>
Subject: bindkey and widgets
Date: Sun, 21 Mar 2004 15:31:56 +0100 [thread overview]
Message-ID: <20040321143156.GA31236@fargo> (raw)
Hi all ;),
I've been reading zsh users guide and documentation, but cannot find any
responses to these doubts, hope you can help me out ;). Two questions:
It is possible to map the "Ctrl+RePag" combination using bindkey? I just
can bind the "RePag" key alone, but i want to associate combinations
of RePag/AvPag keys to different widgets. Some expressions i've tried are
'^\e[5~' and '\C-\e[5~'. The first one behaves just like '\e[5~'.
On the other hand, how can i map one action with two widgets?. When
the Control-K combination is pressed, i want two widgets to be executed,
namely kill-line and end-of-history. Do i need to create an user defined
widgets to do this, calling zle to execute these widgets, or it can be
done in a simpler way?
Thanks,
--
David Gómez
"The question of whether computers can think is just like the question of
whether submarines can swim." -- Edsger W. Dijkstra
next reply other threads:[~2004-03-21 14:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-21 14:31 David Gómez [this message]
2004-03-21 17:01 ` Bart Schaefer
2004-03-21 21:26 ` David Gómez
2004-03-21 18:18 ` DervishD
2004-03-21 21:51 ` David Gómez
2004-03-22 14:52 ` DervishD
2004-03-22 16:02 ` David Gómez
2004-03-22 17:53 ` Eric Mangold
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=20040321143156.GA31236@fargo \
--to=david@pleyades.net \
--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).