From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 336 invoked from network); 21 Mar 2004 21:48:49 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 21 Mar 2004 21:48:49 -0000 Received: (qmail 2251 invoked by alias); 21 Mar 2004 21:48:35 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7222 Received: (qmail 2188 invoked from network); 21 Mar 2004 21:48:35 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 21 Mar 2004 21:48:35 -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 21:48:35 -0000 Received: (qmail 3680 invoked from network); 21 Mar 2004 21:48:34 -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 21:48:33 -0000 Received: (qmail 32763 invoked by uid 500); 21 Mar 2004 21:51:05 -0000 Date: Sun, 21 Mar 2004 22:51:05 +0100 From: David =?iso-8859-15?Q?G=F3mez?= To: Zsh-users Subject: Re: bindkey and widgets Message-ID: <20040321215105.GA32709@fargo> Mail-Followup-To: Zsh-users References: <20040321143156.GA31236@fargo> <20040321181830.GE302@DervishD> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040321181830.GE302@DervishD> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk 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 Raúl ;), > No. If you want to use 'Ctrl+RePag' combo you must edit your > /etc/keymap and modify the lines that bind that combo to the > scrollback facility under Linux. You should bind them to a string: Thanks ;), it works nicely. I should have think at first that i didn't have that key combination in my keymap... instead of trying to make zsh to map an unknow key sequence :-/ > See Bart's message for that. Is a very good explanation :) IMHO > the easiest one if you don't want to create new widgets is the one I > told you yesterday: bind some strange key combo to each widget and I understood you wrong O:), i thought that what you explained me about bindkey -s was to invocate zle directly. But i've find out diggin in then manuals that zle widgets only can be called from inside a shell function... > Nonetheless, if you plan to make something more complicated in > the future regarding kill-line (e.g. adding more widgets to run after > kill-line, making the killing depending on the contents of the > $BUFFER, etc.) I encourage you to create a new widget. Right now i just want to run two widgets, but i feel confident enough to do a widget if in a near future i have some 'dark' ideas XDDDDDD cheers, -- David Gómez "The question of whether computers can think is just like the question of whether submarines can swim." -- Edsger W. Dijkstra