Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tab_switcher: Preserve selected position on closed tabs #22861

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aborg-dev
Copy link

When the user closes a tab, the tab switcher will now select the tab at the same position. This feature is especially relevant for keyboard users when you want to close multiple consecutive tabs with <Ctrl-Backspace>.

Please see the discussion at #22791 for full motivation and the quick demo.

Release Notes:

  • tab_switcher: Preserve selected position when tab is closed

Copy link

cla-bot bot commented Jan 8, 2025

We require contributors to sign our Contributor License Agreement, and we don't have @aborg-dev on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

When the user closes a tab, the tab switcher will now select the tab at the same position.
This feature is especially relevant for keyboard users when you want to close multiple consecutive tabs with <Ctrl-Backspace>.
Copy link

cla-bot bot commented Jan 8, 2025

We require contributors to sign our Contributor License Agreement, and we don't have @aborg-dev on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@aborg-dev
Copy link
Author

@cla-bot check

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 8, 2025
Copy link

cla-bot bot commented Jan 8, 2025

The cla-bot has been summoned, and re-checked this pull request!

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant