tabline-framework.nvim icon indicating copy to clipboard operation
tabline-framework.nvim copied to clipboard

[Feature Request] Scroll active tab/buffer into view

Open Penaz91 opened this issue 4 years ago • 1 comments

Greetings, and thank you for making this plugin!

There are many times where I find myself having many buffers open at the same time and the active buffer on the tabline ends off-screen. It would be nice if tabline-framework could automatically keep the current buffer/tab name visible and change according to the active buffer.

Thanks in advance!

Penaz91 avatar Jan 15 '22 09:01 Penaz91

Hi! I'm glad you like it.

Hmm... that may be difficult. Vim has no built-in scrolling feature, so the only way to achieve this would be to render only the part of the tabline that should be visible. But this plugin builds tabline in more linear than modular manner, so it is hard to calculate whether a given part should be hidden or not. And I would have to think about how to give control over this process to the user.

I will try to figure something out, but it is more "backlog" type issue for now.

rafcamlet avatar Jan 15 '22 13:01 rafcamlet