Skip to content

How to use number keys in keymaps?  #19

Open
@dact221

Description

Dear developer,

I am replicating xah-fly-keys emacs mode using ModalEditor. I was able to set most keybindings, but numbers do not work. I tried quoted and unquoted numbers, but they just do not work in normal mode. The commands I was using are valid since they work fine when assigning them to a letter. For example:

module.exports = {
    normal: {
        m: "command",
        6: "command",
        "6": "command"
    }
}

In the example, only m worked.

Does ModalEditor support numbers for keybindings?

Thank you for your great work on ModalEditor!

Diego

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions