From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17689 invoked from network); 21 Mar 2004 14:29:44 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 21 Mar 2004 14:29:44 -0000 Received: (qmail 28225 invoked by alias); 21 Mar 2004 14:29:29 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7217 Received: (qmail 28187 invoked from network); 21 Mar 2004 14:29:28 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 21 Mar 2004 14:29:28 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 21 Mar 2004 14:29:28 -0000 Received: (qmail 22003 invoked from network); 21 Mar 2004 14:29:28 -0000 Received: from 90.red-213-97-199.pooles.rima-tde.net (HELO fargo) (213.97.199.90) by a.mx.sunsite.dk with SMTP; 21 Mar 2004 14:29:26 -0000 Received: (qmail 31345 invoked by uid 500); 21 Mar 2004 14:31:56 -0000 Date: Sun, 21 Mar 2004 15:31:56 +0100 From: David =?iso-8859-15?Q?G=F3mez?= To: Zsh-users Subject: bindkey and widgets Message-ID: <20040321143156.GA31236@fargo> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on thor.dotsrc.org X-Spam-Level: X-Spam-Status: No, hits=0.1 required=6.0 tests=RCVD_IN_RFCI autolearn=no version=2.63 X-Spam-Hits: 0.1 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