From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8847 invoked from network); 23 Jun 1999 08:00:50 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Jun 1999 08:00:50 -0000 Received: (qmail 23942 invoked by alias); 23 Jun 1999 08:00:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6794 Received: (qmail 23935 invoked from network); 23 Jun 1999 08:00:22 -0000 From: "Andrej Borsenkow" To: "Sven Wischnowsky" , Subject: RE: PATCH: local keymaps Date: Wed, 23 Jun 1999 11:59:31 +0400 Message-ID: <009601bebd4e$531cd5d0$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 In-Reply-To: <199906230750.JAA05790@beta.informatik.hu-berlin.de> > > > This allows one to set a local keymap that (partly) overrides the > current keymap. It is done by defining such a keymap, doing some > binkey()s in it and then install it with selectlocalmap(map). When it > isn't used any more selectlocalmap(NULL) de-installs the local map. > You are so fast in coding :-) that I don't have time to ask questions. Local keymaps imply the ability to switch between keymaps (well, it was internally always there). That returns us to the old question - is it possible to siwtch keymap on-the-fly? Curently, it seems, that bindkey -A viins main will change your keymap from emacs to vi. Is it the correct way? Unforunately, after bindkey -A vicmd main no more input is possible. I would expect, that at least `a' would bring me back to viins. /andrej