Skip to content

git_graph: Fix search bar Vim key handling (#55510) (cherry-pick to preview) - #55511

Merged
zed-zippy[bot] merged 1 commit into
v1.1.xfrom
cherry-pick-v1.1.x-18651336
May 3, 2026
Merged

git_graph: Fix search bar Vim key handling (#55510) (cherry-pick to preview)#55511
zed-zippy[bot] merged 1 commit into
v1.1.xfrom
cherry-pick-v1.1.x-18651336

Conversation

@zed-zippy

@zed-zippy zed-zippy Bot commented May 2, 2026

Copy link
Copy Markdown
Contributor

Cherry-pick of #55510 to preview


#53609 introduced a regression where Git Graph keybindings could take
precedence over the search bar. As a result, typing characters like j
or k in the search field could move the table selection instead of
updating the search query.

This PR fixes that regression by scoping Vim table navigation bindings
away from the search bar. It also adds dedicated tab and shift-tab
handling for Git Graph focus traversal, with the search bar and graph
table participating as separate tab groups.

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX
    checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Release Notes:

  • N/A

#53609 introduced a regression where Git Graph keybindings could take
precedence over the search bar. As a result, typing characters like `j`
or `k` in the search field could move the table selection instead of
updating the search query.

This PR fixes that regression by scoping Vim table navigation bindings
away from the search bar. It also adds dedicated `tab` and `shift-tab`
handling for Git Graph focus traversal, with the search bar and graph
table participating as separate tab groups.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label May 2, 2026
@zed-community-bot zed-community-bot Bot added the bot Pull requests authored by a bot label May 2, 2026
@zed-zippy
zed-zippy Bot merged commit c85e35c into v1.1.x May 3, 2026
57 of 59 checks passed
@zed-zippy
zed-zippy Bot deleted the cherry-pick-v1.1.x-18651336 branch May 3, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Pull requests authored by a bot cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant