Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: PATCH: local keymaps
- X-seq: zsh-workers 6794
- From: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>
- To: "Sven Wischnowsky" <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: PATCH: local keymaps
- Date: Wed, 23 Jun 1999 11:59:31 +0400
- Importance: Normal
- In-reply-to: <199906230750.JAA05790@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
>
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author