Skip to content

[bug] (apparently), keybinding for <any> filter is called endlessly without any key typed #1928

@zokrezyl

Description

@zokrezyl

Hi,

am not sure if this is a bug or feature, but the keybinding filtering function is called enndlesly.

I wanted to use it to have an overview of the keybindings and implement a plugin like the nvim "which-key" plugin.

    @Condition
    def unasigned_filter():
        print("filter called")
        return True #does not matter if I return True or False

    @bindings.add("<any>", filter=unasigned_filter)
    def _(event):
        return

thanks
Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions