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

Scrollable? #50

Closed
rockyzhang24 opened this issue Feb 22, 2022 · 9 comments
Closed

Scrollable? #50

rockyzhang24 opened this issue Feb 22, 2022 · 9 comments
Labels
enhancement New feature or request

Comments

@rockyzhang24
Copy link

Really love this pure tab plugin. I hate bufferline.

Are you planning to support scrollable feature just in case the tabs are too many or too long that cannot fit into the screen?

Thank you so much.

@nanozuki
Copy link
Owner

I have the plan, but I need some time to find a way to implement this.

@nanozuki
Copy link
Owner

nanozuki commented Sep 21, 2022

@rockyzhang24
I can't find docs for scrollable lines, can you give me some example plugins or code?

@EpsilonKu
Copy link

It seems they doesn't add it (akinsho/bufferline.nvim#413). But barbar.nvim has auto-scroll.

@nanozuki
Copy link
Owner

nanozuki commented May 6, 2024

It is difficult for the current design, so I achieved this before I found a way.

@nanozuki nanozuki closed this as completed May 6, 2024
@avegancafe
Copy link

Was this ever implemented by any chance @nanozuki ? Struggling to find how to do this

@nanozuki
Copy link
Owner

@avegancafe I recently refactored the renderer in Tabby.nvim, I think it makes this feature possible to implement. First, I'm going to read some other plugin code to ensure a plan.

@nanozuki nanozuki reopened this Jun 14, 2024
@nanozuki nanozuki added the enhancement New feature or request label Aug 2, 2024
@nanozuki
Copy link
Owner

Because tabby.nvim is highly customizable, it's hard to find a normal way to truncate or scroll the tab line. I tried some plans, but all failed.

I will close this issue temporarily until someone finds a way.

@avegancafe
Copy link

Hmm maybe it could be configurable where there's like a "Windowed tabs" list exported and you can set plus or minus how many tabs you want to be able to display at once in the tab bar? I'll try to put up a PR if I come up with anything that feels like it could be generalized in my config

@nanozuki
Copy link
Owner

Hmm maybe it could be configurable where there's like a "Windowed tabs" list exported and you can set plus or minus how many tabs you want to be able to display at once in the tab bar? I'll try to put up a PR if I come up with anything that feels like it could be generalized in my config.

Maybe this is a great way! You are welcome to share more information. If I come up with something, I will update you here, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants