On Fri, Aug 01, 2003 at 11:26:01AM +0200, [EMAIL PROTECTED] wrote: > so basically one would need two keymaps between which each wedln > can choose individually (or more likely: instanceally).
A 'locking' submap would essentially be a command mode. The only problem is that submaps grab all input although there really is no reason to do so unless the submap-activating key was also grabbed. An alternative is to write a simple module that processes the keys in a command mode. (E.g. tabdrag and resize modes process keys outside the normal handler.) This would also allow implementing things like <n><cmd> => do cmd n times without awful keymap kludges. > that having said, the really cool solution would be to use > the readline library and provide it with the custom handlers I did not originally use readline because a) it's bloated and b) it's GPL so incompatible with Ion's Artistic license. Indeed, Ion being LGPL now I think readline is _still_ could not be used. -- Tuomo
