Can a plug listen for keyboard shortcuts?

Can a plug listen for several keyboard shortcuts and do its own actions in response? I didn’t see any relevant APIs in the silverbullet syscalls directory.

Not directly. Plugs can define commands, and commands can define keybindings, but you cannot listen to random key events.

And this plug may also provide inspiration: New Plug: Outline Sidebar

Perhaps these efforts can even be merged.