GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [FEATURE]: Make App prompt action shortcuts configurable · Issue #43088 · anomalyco/opencode

[FEATURE]: Make App prompt action shortcuts configurable #43088

New issue
Copy link
New issue
Copy link
Open
#55313
Open
[FEATURE]: Make App prompt action shortcuts configurable#43088
#55313
Copy link

Description

@CasualDeveloper
CasualDeveloper
opened on Aug 17, 2026
Issue body actions

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

The current web/Desktop App on dev has a Keyboard Shortcuts editor, but prompt submit, newline, and alternate delivery are still hardcoded and cannot be rebound. I want these actions exposed through the existing shortcut UI while preserving the current defaults:

  • prompt.submit: Enter
  • prompt.newline: Shift+Enter
  • prompt.submit.alternate: Ctrl/Cmd+Enter — queue or steer opposite the configured follow-up behavior

This would allow configurations such as Enter for newline and Ctrl/Cmd+Enter for submit, with a separate customizable alternate-delivery shortcut, without adding another settings model. Each action should support disabling and restoring its default, and shortcut hints should reflect the effective bindings.

This request targets the current App implementation promoted from v2 to dev. Related historical work does not cover the current implementation:

  • [FEATURE]: Allow to Shift + enter to edit in next line without enter #9836 concerns TUI terminal handling.
  • [FEATURE]: Support modifying newline and submit keybinds in TUI/GUI #11898 was closed as a Question issue with instructions to open a proper feature request.
  • [FEATURE]: Setting to send prompt only with send button, not hitting enter. #16226 and fix(app): make prompt submit and newline rebindable #23430 targeted the V1 App architecture.
  • feat(app): add "Send with Ctrl+Enter" option #13637 targets the V1 App, uses a boolean setting, and does not support the current composer.

The proposed implementation registers all three actions in the App command catalog but keeps dispatch editor-local so suggestions, IME composition, selection replacement, and key-repeat behavior remain correct in the current Composer used by both new-session and session surfaces.

Reacted by Bekir Dogan, Dave Hansen-Lange, labtopSir, Simon Kirsten, nil, Zhouys, Bryan Octavio, tooyangtoonaive, Yihao Gao, Ted Won and 6 more
Reacted by Lukas Willin
Reacted by Lukas Willin

Activity

Next
  1. CasualDeveloper
    changed the title [-][FEATURE]: Make V2 App prompt submit and newline shortcuts configurable[/-] [+][FEATURE]: Make V2 App prompt action shortcuts configurable[/+] on Sep 10, 2026
  2. CasualDeveloper
    added 3 commits that reference this issue on Sep 10, 2026

    feat(app): make prompt action keybinds configurable

    This issue will close once commit ab1363a is merged into the 'casual' branch.
    ab1363a

    chore(casual): merge prompt keybinds (anomalyco#43088)

    This issue will close once commit ebea514 is merged into the 'casual' branch.
    ebea514

    feat(app): make prompt action keybinds configurable

    This issue will close once commit 6a5738d is merged into the 'casual' branch.
    6a5738d
  3. 25 remaining items

  4. opencodejr commented on Oct 28, 2026

    @opencodejr
    opencodejrBot
    on Oct 28, 2026
    Contributor
    More actions

    Thanks for the detailed request! In short, you'd like the App's prompt submit (Enter), newline (Shift+Enter) and alternate-delivery (Ctrl/Cmd+Enter) keys added as configurable actions in the existing Keyboard Shortcuts editor. Each would keep its current default, support disabling and resetting, and have hints that show the effective bindings. That would allow setups like Enter for newline and Ctrl/Cmd+Enter for submit.

    I checked the current composer: these keys are handled directly in the editor's key handler and aren't registered as rebindable commands, so this is a new capability rather than a bug. The maintainers will consider it.

    Related issues, as you noted:

    • feat(app): add "Send with Ctrl+Enter" option #13637: V1 App, boolean setting approach
    • [FEATURE]: Setting to send prompt only with send button, not hitting enter. #16226 and fix(app): make prompt submit and newline rebindable #23430: V1 App architecture
    • [FEATURE]: Allow to Shift + enter to edit in next line without enter #9836: TUI terminal handling
    • [FEATURE]: Support modifying newline and submit keybinds in TUI/GUI #11898: earlier question about the same need
  5. CasualDeveloper
    added 5 commits that reference this issue on Oct 29, 2026

    feat(app): make prompt action keybinds configurable

    This issue will close once commit 5968990 is merged into the 'casual' branch.
    5968990

    feat(app): make prompt action keybinds configurable

    This issue will close once commit 3348707 is merged into the 'casual' branch.
    3348707

    feat(app): make prompt action keybinds configurable

    This issue will close once commit cee1644 is merged into the 'casual' branch.
    cee1644

    feat(app): make prompt action keybinds configurable

    This issue will close once commit cf295b0 is merged into the 'casual' branch.
    cf295b0

    feat(app): make prompt action keybinds configurable

    This issue will close once commit 5b17712 is merged into the 'casual' branch.
    5b17712
  6. opencodejr
    marked desktop: prompt send key is hardcoded; cli.json keybinds (input.submit / input.newline) have no effect #64601 as a duplicate of this issue on Nov 18, 2026
  7. BAV2026 commented on Nov 19, 2026

    @BAV2026
    BAV2026
    on Nov 19, 2026
    More actions

    +1 — this is exactly what I need on the desktop app.

    Environment: OpenCode desktop 2.2.5, Windows 10.0.28000, bundled CLI 2.2.5 (latest channel), no plugins.

    In the desktop composer Enter always submits and Shift+Enter inserts a newline, and neither is exposed in Settings → Shortcuts, so there is no supported way to swap them. I first tried ~/.config/opencode/cli.json (input.submit / input.newline) — it works in the TUI, but the desktop bundle never reads cli.json, so nothing changed.

    Configuring prompt.submit, prompt.newline, and prompt.submit.alternate through the existing Shortcuts UI (as proposed here) would fully solve it for Windows desktop users. Happy to test a build with #55313 on Windows.

  8. jakedowns commented on Nov 19, 2026

    @jakedowns
    jakedowns
    on Nov 19, 2026
    More actions

    would love to see generic keybinding configs to match tui, i would love to be able to bind, say alt+p , alt+n for jumping to prev/next user messages in the desktop gui + web gui

  9. CasualDeveloper
    added 3 commits that reference this issue on Nov 19, 2026

    feat(app): make prompt action keybinds configurable

    This issue will close once commit b76bf14 is merged into the 'casual' branch.
    b76bf14

    feat(app): make prompt action keybinds configurable

    This issue will close once commit a307f8e is merged into the 'casual' branch.
    a307f8e

    feat(app): make prompt action keybinds configurable

    This issue will close once commit 0d91083 is merged into the 'casual' branch.
    0d91083
  10. LukasWillin commented on Nov 22, 2026

    @LukasWillin
    LukasWillin
    on Nov 22, 2026
    More actions

    This is exactly what I need as well. As a developer in all my programs Enter is a newline and it is jarring having to constantly change this mental model.
    For me opencode and similar programs are tools like IDEs not simple chat windows. And even it is a chat app I rebind all my messengers to not immediately send on enter and instead enter newline.

    Call me crazy for perhaps being a bit pedantic with my messages, but I really like to reread what I wrote and make sure that it is formatted. But apparently these days one get's to feel old at 34.

  11. CasualDeveloper
    added 2 commits that reference this issue on Nov 23, 2026

    feat(app): make prompt action keybinds configurable

    This issue will close once commit a107e9d is merged into the 'casual' branch.
    a107e9d

    feat(app): make prompt action keybinds configurable

    This issue will close once commit 677fc85 is merged into the 'casual' branch.
    677fc85
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.