Skip to content

Add cmd-y binding for agent::Keep in agent diff review#50656

Merged
mikayla-maki merged 1 commit intomainfrom
add-cmd-y-agent-keep-binding
Mar 4, 2026
Merged

Add cmd-y binding for agent::Keep in agent diff review#50656
mikayla-maki merged 1 commit intomainfrom
add-cmd-y-agent-keep-binding

Conversation

@mikayla-maki
Copy link
Copy Markdown
Member

@mikayla-maki mikayla-maki commented Mar 3, 2026

Release Notes:

  • Added cmd-y keybinding for accepting changes in the agent diff review, matching the git diff review shortcut.

The git diff review uses cmd-y (git::StageAndNext) to accept a hunk
and move to the next one, but the agent diff review required the
more complex cmd-alt-y for the equivalent agent::Keep action.

Add cmd-y as an additional binding for agent::Keep in both the
AgentDiff and Editor && editor_agent_diff key contexts, matching
the git diff review ergonomics. The existing cmd-alt-y bindings
are preserved as alternatives.

Equivalent alt-y bindings added for Linux and Windows.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 3, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Mar 3, 2026
@mikayla-maki mikayla-maki enabled auto-merge (squash) March 3, 2026 23:59
@mikayla-maki mikayla-maki merged commit 9c9337a into main Mar 4, 2026
39 checks passed
@mikayla-maki mikayla-maki deleted the add-cmd-y-agent-keep-binding branch March 4, 2026 00:09
tahayvr pushed a commit to tahayvr/zed that referenced this pull request Mar 4, 2026
…s#50656)

Release Notes:

- Added `cmd-y` keybinding for accepting changes in the agent diff
review, matching the git diff review shortcut.
wzulfikar pushed a commit to wzulfikar/zed that referenced this pull request Mar 4, 2026
…s#50656)

Release Notes:

- Added `cmd-y` keybinding for accepting changes in the agent diff
review, matching the git diff review shortcut.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant