Skip to content

agent_ui: Restore Ctrl + > behavior for whole lines - #54698

Merged
NeelChotai merged 7 commits into
mainfrom
neel/restore-agent-editor-shortcut
May 7, 2026
Merged

agent_ui: Restore Ctrl + > behavior for whole lines#54698
NeelChotai merged 7 commits into
mainfrom
neel/restore-agent-editor-shortcut

Conversation

@NeelChotai

Copy link
Copy Markdown
Member

Restores current line fallback when using Ctrl + > to add context to the agent.

Release Notes:

  • N/A

@NeelChotai NeelChotai self-assigned this Apr 23, 2026
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Apr 23, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Apr 23, 2026
@maxdeviant maxdeviant changed the title agent_ui: Restore Ctrl + > behaviour for whole lines agent_ui: Restore Ctrl + > behavior for whole lines Apr 23, 2026
@danilo-leal

Copy link
Copy Markdown
Member

What's the line fallback we're restoring here? Not quite sure I know...

@NeelChotai

Copy link
Copy Markdown
Member Author

fyi @danilo-leal this partially reverts some changes made in #52860.

This maintains the fix to the terminal side, so additional context from editor doesn't get added to the agent panel when unfocused, however it felt very strange having to select a single character to add a line of context to the agent

@NeelChotai
NeelChotai force-pushed the neel/restore-agent-editor-shortcut branch 2 times, most recently from da37896 to f0afd9d Compare April 23, 2026 18:31
@NeelChotai
NeelChotai force-pushed the neel/restore-agent-editor-shortcut branch from f0afd9d to 759b4e3 Compare April 29, 2026 13:48
@NeelChotai
NeelChotai added this pull request to the merge queue May 7, 2026
Merged via the queue into main with commit 4f54a04 May 7, 2026
45 of 51 checks passed
@NeelChotai
NeelChotai deleted the neel/restore-agent-editor-shortcut branch May 7, 2026 12:43
@zed-zippy zed-zippy Bot added the PR state:needs review Used to label PRs that are in need of a post-merge approval label May 7, 2026
@gaauwe

gaauwe commented May 11, 2026

Copy link
Copy Markdown
Contributor

@zed-zippy approved

@zed-zippy zed-zippy Bot removed the PR state:needs review Used to label PRs that are in need of a post-merge approval label May 11, 2026
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
…#54698)

Restores current line fallback when using `Ctrl + >` to add context to
the agent.

Release Notes:

- N/A
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
…#54698)

Restores current line fallback when using `Ctrl + >` to add context to
the agent.

Release Notes:

- N/A
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.

3 participants