akinsho / akinsho/bufferline.nvim

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

Aperta
#979 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Lua
Stelle
4.4k
Fork
240
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.