akinsho / akinsho/bufferline.nvim

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

未关闭
#979 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Lua
星标
4.4k
派生
240
PR 合并指标
30 天内没有已合并 PR

描述

### 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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。