Skip to content

TryBindKey not working as stated in Documentation #3686

@tometaro07

Description

@tometaro07

Hi! I installed micro a couple of weeks ago and I'm really enjoying the experience so far.

I was working around with an existing plugin and noticed that every time I tried to rebind a command, it auto generated a new one with the original key. I the end I always ended up with two keybinds for the command: my new one and the preset by the plugin.

I looked at the plugin code and it all looked right, so I started testing with the bindings.json file and noticed that the TryBindKey function, checks if the key is already used in a command, instead of checking if the command already as a key.

Maybe I'm the one miss reading the documentation just wanted to be sure.

Thank you in advance for the help!

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