When defining two-key global_bindings in the latest version of Ion, if
the same first key (submap) is defined twice some of the mappings will
not function.

For example, an excerpt from ion-bindings.lua:

    global_bindings{
        submap(DEFAULT_MOD.."A") {
            kpress("AnyModifier+T", make_exec_fn("treeline")),
        },
    }
    if querylib then
        global_bindings{
            submap(DEFAULT_MOD.."A") {
                kpress("AnyModifier+R", querylib.query_restart),
            }
        }
    end

In this example, the treeline binding did not function.

I'm not sure if this is a bug, but it seemed to work OK in
ion-devel-20031211.  The workaround is easy (I realize the "if querylib
then" is from an old version and is not needed), but it took me quite a
bit of time to figure out why my bindings weren't working.

Thanks,
Doug.

Reply via email to