Skip to content

Spaces used in command keys make changing shortcuts impossible. #60

Description

@alex-quin-gabriel

config.edn format does not seem to allow spaces in its keys.

This definition:

key: 'Toggle Smartblock Inserter',

leads to this entry in config.edn:

:shortcuts {
:plugin.logseq-smartblocks/Toggle Smartblock Inserter ["ctrl+b"]
}

when one tries to change the shortcut in the keymap ui. This fails to parse.

In effect, it is impossible to change these shortcuts, which makes it harder to disentangle shortcut conflicts (which are especially common on ctrl+t, the default.

Could you modify the command keys and replace spaces with an allowed character, such as - or _?

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