On Wed, Sep 22, 2004 at 10:49:46PM +0200, Konstantin Kletschke wrote:
> kpress("W", function(f) _:attach_new({name="foo", type="WIonWS"}) end),
> 
> ? But this is probably a mix between ion3 and ion2 now, though ion3 does
> not complain about syntax...

Ion3 still allow ion2-style binding definitions, but the preferred method
is now to use strings. So you would do e.g.

kpress("W", "_:attach_new({name='foo', type='WIonWS'})")

The _ variable binding is only available in string-form bindings (and 
the lua code query). Notice the use of single-quotes.


> Is there a way to customize the default /etc/X11/ion3/cfg_bindings.lua
> in
> another way than copying it to ~/.ion3/cfg_bindings.lua and modifying
> it?

By loading other binding after it? Binding can be removed by binding
the key to nil.

-- 
Tuomo

Reply via email to