Skip to content

agent: Fix cmd-f not working when buffer is open - #60750

Merged
bennetbo merged 2 commits into
mainfrom
fix-search-keybindings-agent-panel
Jul 10, 2026
Merged

agent: Fix cmd-f not working when buffer is open#60750
bennetbo merged 2 commits into
mainfrom
fix-search-keybindings-agent-panel

Conversation

@bennetbo

Copy link
Copy Markdown
Member

Turns out I only tested it with all tabs closed, the keybinding would only work when all tabs were closed and you focused the agent panel. If a file was opened in the center pane, cmd-f would open a search in that file instead of searching in the agent panel, even if the thread view as focused.

Closes #60686

Release Notes:

  • agent: Fixed an issue where cmd-f would not work if file is open in center pane

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jul 10, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jul 10, 2026
@bennetbo
bennetbo added this pull request to the merge queue Jul 10, 2026
Merged via the queue into main with commit 585e4aa Jul 10, 2026
53 of 55 checks passed
@bennetbo
bennetbo deleted the fix-search-keybindings-agent-panel branch July 10, 2026 11:41
@bennetbo

Copy link
Copy Markdown
Member Author

/cherry-pick preview
/cherry-pick stable

@zed-zippy

zed-zippy Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

zed-zippy Bot added a commit that referenced this pull request Jul 10, 2026
…k to preview) (#60754)

Cherry-pick of #60750 to preview

----
Turns out I only tested it with all tabs closed, the keybinding would
only work when all tabs were closed and you focused the agent panel. If
a file was opened in the center pane, cmd-f would open a search in that
file instead of searching in the agent panel, even if the thread view as
focused.

Closes #60686

Release Notes:

- agent: Fixed an issue where cmd-f would not work if file is open in
center pane

Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
… (cherry-pick to preview) (zed-industries#60754)

Cherry-pick of zed-industries#60750 to preview

----
Turns out I only tested it with all tabs closed, the keybinding would
only work when all tabs were closed and you focused the agent panel. If
a file was opened in the center pane, cmd-f would open a search in that
file instead of searching in the agent panel, even if the thread view as
focused.

Closes zed-industries#60686

Release Notes:

- agent: Fixed an issue where cmd-f would not work if file is open in
center pane

Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
Turns out I only tested it with all tabs closed, the keybinding would
only work when all tabs were closed and you focused the agent panel. If
a file was opened in the center pane, cmd-f would open a search in that
file instead of searching in the agent panel, even if the thread view as
focused.

Closes zed-industries#60686

Release Notes:

- agent: Fixed an issue where cmd-f would not work if file is open in
center pane
playdohface pushed a commit to playdohface/zed that referenced this pull request Aug 29, 2026
Turns out I only tested it with all tabs closed, the keybinding would
only work when all tabs were closed and you focused the agent panel. If
a file was opened in the center pane, cmd-f would open a search in that
file instead of searching in the agent panel, even if the thread view as
focused.

Closes zed-industries#60686

Release Notes:

- agent: Fixed an issue where cmd-f would not work if file is open in
center pane
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.

AgentTerminalThread search doesn't work when mode == "full"

2 participants