Skip to content

Ctrl+X as universal interact/activate key #212

Description

@oobagi

Summary

Extend Ctrl+X beyond checkbox toggling to serve as a universal "interact" key for block-specific actions in edit mode, since mouse clicks aren't available there.

Behavior

Ctrl+X on different block types:

  • Checklist: Toggle checkbox (current behavior, preserved)
  • Embed: Open the embedded note in the embed sheet modal
  • Definition: Jump to/highlight the definition (or open a preview)
  • Code block: Could copy code to clipboard or toggle language picker
  • Other block types: no-op or contextual action as features grow

Motivation

Edit mode disables mouse capture for native text selection. This means users can't click on interactive elements (embeds, checkboxes, etc). Ctrl+X already works for checkboxes — extending it as a general "activate the thing under my cursor" key gives edit mode feature parity with view mode's click interactions.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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