You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
app: prompt submit and newline shortcuts are not configurable #42981
The V2 web/Desktop App exposes a Keyboard Shortcuts editor, but prompt submit and newline are still hardcoded and cannot be rebound.
This prevents using Enter for newline and Ctrl/Cmd+Enter for submit while preserving the existing defaults for other users.
Environment
opencode version: v0.0.0-next-17444
OS: macOS 27.0, arm64
Terminal: xterm-256color
Shell: fish
Install/channel: next
Active plugins: None configured
Reproduction
Open the V2 web or Desktop App.
Open Settings -> Keyboard Shortcuts.
Search for prompt submit or newline.
Observe that neither action is available.
Focus the prompt editor and press Enter or Shift+Enter.
Expected Behavior
Prompt submit and newline should be configurable through the existing App Keyboard Shortcuts UI, while retaining the current defaults.
Actual Behavior
Enter submission and Shift+Enter newline behavior are handled directly by both App composers and have no configurable shortcut actions.
Additional Context
At origin/v2 commit d4f10fa9bed3c19d3e28fb90f20dc208226eeee7:
The legacy App composer handles Enter directly in packages/app/src/components/prompt-input.tsx.
The V2 composer handles Enter directly in packages/session-ui/src/v2/components/prompt-input/index.tsx.
V2 TUI has configurable input.submit and input.newline bindings, but its keymap and cli.json settings are separate from the App command registry and browser-local settings.
No issue template was used. This appears to be a feature request, but it does not use the Feature Request template (missing the verification checkbox and the [FEATURE]: title prefix). Please reopen using the correct template, or edit the title and add the required verification checkbox.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Activity
github-actions commentedon Aug 17, 2026
This issue does not fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:title prefix). Please reopen using the correct template, or edit the title and add the required verification checkbox.Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
For keybind-related issues, please also check our pinned keybinds documentation: #4997
If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon Aug 17, 2026
This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.
Feel free to open a new issue that follows our issue templates.