Closed guidocella closed 4 months ago
Download the artifacts for this pull request:
mp.add_key_binding('g', ...)
still overrides g-*
Why wouldn't it?
Because I have to put g ignore
or some other workaround, even if I have g-*
in input.conf.
This is the documented and expected behavior: "If a or a-b or b are already bound, this will run the first command that matches, and the multi-key command will never be called. Intermediate keys can be remapped to ignore in order to avoid this issue. The maximum number of (non-modifier) keys for combinations is currently 4."
Fair, I guess.
This fixes 2 different bugs:
This follows up 994a08f5a7 which fixed this within the same input section. This fixes it across different input sections.
This happened because is_builtin of bindings added with mp.add_key_binding is true though they're not actually builtin.