Skip to content

Add a keyboard shortcut to delete the current workspace #2808

Description

@AmethystLiang

Summary

Add a keyboard shortcut/command-palette action for deleting the current workspace/worktree.

Problem or use case

A user can create a workspace with a shortcut and then do most of their work in the CLI, but deleting the workspace currently appears to require using the mouse/trackpad. That breaks an otherwise keyboard-first workflow.

User feedback:

One shortcut I'm really missing is to delete a workspace. I can create a workspace with a shortcut, then work in the CLI, but then to delete the workspace, I need to use the mouse/trackpad. Or maybe I just haven't found it yet?

Proposed solution

Expose workspace deletion through the keyboard-first command surface, ideally both:

  • A default keyboard shortcut for deleting the currently focused/current workspace.
  • A discoverable command-palette entry such as Delete Workspace or Delete Current Workspace.

The action should reuse the existing deletion confirmation/safety behavior from the UI delete flow.

Related context

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions