bufferline.nvim icon indicating copy to clipboard operation
bufferline.nvim copied to clipboard

[Feature Request]: Add function for dynamically enabling/disabling groups

Open cohml opened this issue 1 year ago • 1 comments

What?

I'd love a function which can dynamically group/ungroup buffers. Concretely, this would mean Neovim starts with all tabs grouped as per config, but then executing the function would revert the bufferline to looking as if no groups were defined in the config to begin with. Re-executing the function would then re-enable to groups as per the config.

Why?

Groups are super handy, but they can also get in the way and aren't always desireable. So it's unfortunate that grouping is hardcoded, such that disabling grouping requires modifying the config and then restarting Neovim. Much nicer would be a way to toggle the groups on and off without leaving the current session. Would make for a super useful keymapping.

cohml avatar Nov 19 '24 16:11 cohml

I would also love to see this feature.

bengladwell avatar Apr 14 '25 14:04 bengladwell