Not possible to disable a command shortcut anymore?

For obscure reasons (I’m using a custom keyboard layout which remap these to < and >), I need Alt+K and Alt+L (resp. Option+K and Option+L on Mac) to not be a shortcut.

In v1, I could use the following config to disable those shortcuts:

- shortcuts:
  - command: "Outline: Move Left"
    key: ""

If I do the same with v2, this is a no-op using the following code, and using Alt+K will always call the command Outline: Move Left.

config.set {
  shortcuts = {
    {
      command = "Outline: Move Right",
      key = "",
      mac = ""
    }
  }
}

Is there another way to remove an existing default keybinding? If not, can we add one please? (EIBTI, so I’d suggest config.delete(keybinding) or something along those lines)

This is a regression, just created a github issue for it: Disabling shortcuts no longer supported · Issue #1350 · silverbulletmd/silverbullet · GitHub

2 Likes