nanozuki / tabby.nvim

A declarative, highly configurable, and neovim style tabline plugin. Use your nvim tabs as a workspace multiplexer!
MIT License
570 stars 20 forks source link

Scrollable? #50

Closed rockyzhang24 closed 3 weeks ago

rockyzhang24 commented 2 years ago

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 commented 2 years ago

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

nanozuki commented 1 year ago

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

EpsilonKu commented 1 year ago

It seems they doesn't add it (https://github.com/akinsho/bufferline.nvim/issues/413). But barbar.nvim has auto-scroll.

nanozuki commented 4 months ago

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

avegancafe commented 2 months ago

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

nanozuki commented 2 months ago

@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 commented 3 weeks ago

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 commented 3 weeks ago

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 commented 2 weeks ago

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.