Skip to content

Add keyboard shortcuts #16

@ephetic

Description

@ephetic

It would be nice if the webapp and VSCode extension supported some or all of these. Suggested bindings are given, but are only suggestions.

  • switch tools (e.g. TAB to cycle tool, or individual keys like P for Pen, H for Hand, E for Erase, etc)
  • switch color (e.g. C to cycle (maybe by order of last used), or numbers to directly select form palette)
  • switch frame (e.g. < >)
  • change tool size (e.g. + -)
  • copy, paste, save, undo (e.g. CMD+C, CMD+V, CMD+S, CMD+Z)
  • modifiers for mouse driven zoom, pan, and select (e.g. SHIFT+Drag for select, CMD+Scroll for zoom, ALT+Drag (or H+Drag) for pan)
  • Keyboard driven drawing: arrows to move cursor, SPACE to mark.

Additionally, it'd be nice if there were a help menu for these shortcuts, e.g. a question mark icon button on the settings menu opening a text modal.

Thank you again for all you've done. I love this thing. I would try to give you a PR, but I can't follow the Rust.

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