barbar.nvim
barbar.nvim copied to clipboard
Let each tabpage have its own associated buffers
I was using this plugin called CtrlSpace which each tab holds a separate list of buffers, thus making it very comfortable holding different buffers for different tabs.
In my daily CPP-CMAKE dev routine i usually have two separate type of file that i work on:
Would be cool to have buffers in separate tabs (so they aren't shown in barbar tabs when the other tab is active).
Sorry, this might be a naive request, cos i am still struggling to understand buffers/tabs in vim (after 2 years of being a vim user). Or maybe this plugin already separates each buffer into it's tab with some flag variable or something but i haven't figured that out still even though i check before so i woudn't duplicate this request/feature/issue, but I couldn't find anything.
Thank you again for this plugin, i am using it always and is amazing (especially the closing animation).
P.S. I know that buffers don’t exist “in a tab” and that a tab is just an arrangement of windows, and a window is just a view at a particular buffer at any moment... i'm just wondering how CtrlSpace did it and would it be feasible for this plugin...
I understand the request and it would be nice to have it but I don't have much time these days so I don't know when I'll be able to work on this. The best word to talk about vim view layouts is "tabpage".
@romgrk Thanks for your reply. I understand. I don't know enough Lua to submit a PR. I hope in the future i can help with this somehow.
Yes cool, let's keep it open in case someone wants to work on it
Closing this for now after having read this statement.
tl;dr: install scope.nvim until the functionality is implemented upstream.