Skip to content

Keyboard shortcuts #2665

Description

@adrianthedev

Feature

We'd love to add keyboard shortcuts to Avo.
We already have Mousetrap installed but I think this solution (2025 update) from Yaro is a bit more Stimulus-oriented.

This is another approach (https://github.com/github/hotkey, controller)

Initial shortcuts

We don't need to support "everything" in the initial iteration, so let's pick a few we know they might be highly used.

  • Shift + ? Show a modal with the current shortcuts
  • Command + K Open search (already supported but we want to show it there)
  • command + return Save button
  • command + \ toggle sidebar
  • esc close modal. Ensure it really closes all modals
  • c create button when on an index view
  • anything else?

Current workarounds

Add them with custom JS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Avo 4FeatureHelp wantedWe could use some help with thisJavascriptPull requests that update Javascript codeTaskSomething to get done

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Backlog
    Status
    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions