How to configure shortcuts?

Maybe I am just blind, but I couldnt find out how to set shortcuts in v2…

I saw some posts that contained snippets that should work like this:

config.set {
  shortcuts = {
    {
      command = "Navigate: Page Picker",
      key = "Alt-,"
    }
  }
}

But none of my shortcuts I configure like this work, what am I doing wrong?
And is there any documentation for this?

I had the same problem as you.
I got around using the command.update() function.

command.update {
  name = "Outline: Move Up",
  key = nil,
  mac = nil,
}
command.update {
  name = "Outline: Move Down",
  key = nil,
  mac = nil,
}

See my full use case in this post.

Yes, that works indeed, thanks :slight_smile: