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

fix: don't open duplicate tabs when opening files #367

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Conversation

mikavilpas
Copy link
Owner

Problem:
With a split window setup of two files (a and b) like this a|a|b, when the split b was focused, yazi.nvim would open 3 yazi tabs instead of 2.

Solution:
Add a function to remove duplicates from the list of files to open.

Problem:
With a split window setup of two files (a and b) like this `a|a|b`,
when the split `b` was focused, yazi.nvim would open 3 yazi tabs instead
of 2.

Solution:
Add a function to remove duplicates from the list of files to open.
@mikavilpas mikavilpas enabled auto-merge (squash) August 12, 2024 05:59
@mikavilpas mikavilpas merged commit 1c1ac86 into main Aug 12, 2024
14 checks passed
@mikavilpas mikavilpas deleted the unique-tabs branch August 12, 2024 06:02
This was referenced Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant