From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7672 invoked from network); 29 Jun 1999 10:51:47 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Jun 1999 10:51:47 -0000 Received: (qmail 14536 invoked by alias); 29 Jun 1999 10:51:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6909 Received: (qmail 14529 invoked from network); 29 Jun 1999 10:51:33 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "ZSH workers mailing list" Subject: More local keymaps? Date: Tue, 29 Jun 1999 14:51:26 +0400 Message-ID: <000701bec21d$55e3b8a0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 I currently have Alt-RETURN (actually, ESC-RETURN) bound to accept-and-menu-complete. That's fine and nice ... but after last patches it seems quite wasteful. There are much more places where I'd like to use these keys ... and I have to reserve it for very special single case. What about local keymap for normal menu completion (menucomplete?) It looks logical - most widgets you'd like to use cannot be used outside of menu completion in any case. And binding cup -> menu-complete and cdown -> rverse-menu-complete would give you nice way to scroll through matches even without menu select. Releated question: how useful would local keymaps be for user defined widgets? It differs from current 'bindkey -N newkeymap xxx; bindkey -A newkymap main' in two aspects: - it is sparse (is it really?) You do not need to define all possible bindings - it is expected to be removed atomatically when user defined widget exits. Just an idea ... /andrej