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

tabs.activate_on_close should have "neighbour_left" option #21738

Closed
1 task done
unikitty37 opened this issue Dec 9, 2024 · 0 comments · Fixed by #21800
Closed
1 task done

tabs.activate_on_close should have "neighbour_left" option #21738

unikitty37 opened this issue Dec 9, 2024 · 0 comments · Fixed by #21800
Labels
enhancement [core label] tabs Feedback for tabs behavior, navigation, style, etc

Comments

@unikitty37
Copy link

Check for existing issues

  • Completed

Describe the feature

If tabs.activate_on_close is set to "neighbour", it prefers the right-hand neighbour tab. There should also be an option to have this behaviour, but preferring the left-hand neighbour tab.

This means, that if the open tabs are 1-2-3-4-5, tab 1 is active, and the user clicks on to tab 3 and presses cmd-W, then the active tab will be 2, not 4 (neighbour) or 1 (history).

This matches with the behaviour I have in RubyMine, TextMate and Vivaldi (and wish I could get VSCode to do!)

Environment

Zed: v0.164.2 (Zed)
OS: macOS 14.5.0
Memory: 64 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help present your vision of the feature

Like this, but there are no wiggly lines because the value is valid:

image

@unikitty37 unikitty37 added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Dec 9, 2024
@notpeter notpeter added tabs Feedback for tabs behavior, navigation, style, etc and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement [core label] tabs Feedback for tabs behavior, navigation, style, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants