[PR #11681] feat(tui): add sidebar shortcut for /commit #13897

Closed
opened 2026-02-16 18:18:43 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11681

State: closed
Merged: No


What

  • Add a small Sidebar row that pre-fills the prompt with /commit.

Why

  • Makes the commit workflow discoverable and one click away (Cursor/VSCode-style), while still using the existing custom command system.

Notes

  • The row only renders when a custom command named commit exists.
  • Clicking focuses the prompt; if the prompt ref isn't ready yet, we show a toast.
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11681 **State:** closed **Merged:** No --- ## What - Add a small Sidebar row that pre-fills the prompt with `/commit`. ## Why - Makes the commit workflow discoverable and one click away (Cursor/VSCode-style), while still using the existing custom command system. ## Notes - The row only renders when a custom command named `commit` exists. - Clicking focuses the prompt; if the prompt ref isn't ready yet, we show a toast.
yindo added the pull-request label 2026-02-16 18:18:43 -05:00
yindo closed this issue 2026-02-16 18:18:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13897