On Thu, Mar 11, 2004 at 10:39:12AM -0500, Mike wrote: > vi-locked submaps version? sounds curious, but I don't have the time > to go and try it at the moment... what is this beast, exactly?
There's a set_locked_submaps(true/false) function that can be used to make submaps 'locking' so that all further key presses will be in the context of an activated submap until escape is pressed (escape is hard-coded to kill any active grab). For example, with the default bindings, pressing Mod1+K would cause Ion to essentially grab the keyboard and prefix all further key presses with Mod1+K until the lock is released (by pressing Esc.) It's just a quick experiment a threw together and there's currently no way to manually leave the lock mode. Also there might be problems with Ion focus control etc. that should be addressed. But at least it shows that it is quite easy to implement very basic command mode support and I might even add proper support to Ion3. -- Tuomo
