Add cmd-y binding for agent::Keep in agent diff review#50656
Merged
mikayla-maki merged 1 commit intomainfrom Mar 4, 2026
Merged
Add cmd-y binding for agent::Keep in agent diff review#50656mikayla-maki merged 1 commit intomainfrom
mikayla-maki merged 1 commit intomainfrom
Conversation
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release Notes:
cmd-ykeybinding for accepting changes in the agent diff review, matching the git diff review shortcut.