[PR #11196] feat(app): command + w to close the current tab and fix issue of going to first tab when closing #13689

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

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

State: closed
Merged: No


What does this PR do?

  • cmd+W to close tab: added keyboard shortcut Cmd+W (Mac) / Ctrl+W (Windows) to close the active code tab. the shortcut is also displayed in the close button tooltip.
image
  • when closing a tab, the app now switches to the previously active tab instead of the first tab. this matches the expected behavior in editors like VS Code and zed.
image

How did you verify your code works?

@adamdotdevin useful feature :)

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11196 **State:** closed **Merged:** No --- ### What does this PR do? - cmd+W to close tab: added keyboard shortcut Cmd+W (Mac) / Ctrl+W (Windows) to close the active code tab. the shortcut is also displayed in the close button tooltip. <img width="246" height="160" alt="image" src="https://github.com/user-attachments/assets/869d7c95-1c7c-4fed-a7e2-9127178cc791" /> - when closing a tab, the app now switches to the previously active tab instead of the first tab. this matches the expected behavior in editors like VS Code and zed. <img width="534" height="97" alt="image" src="https://github.com/user-attachments/assets/c6093332-b310-491d-b650-ef1d09f4c0fb" /> ### How did you verify your code works? @adamdotdevin useful feature :)
yindo added the pull-request label 2026-02-16 18:18:31 -05:00
yindo closed this issue 2026-02-16 18:18:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13689