close-buffers.nvim icon indicating copy to clipboard operation
close-buffers.nvim copied to clipboard

Delete all unlisted buffers

Open lcrockett opened this issue 2 years ago • 2 comments

Cheers on this great plugin !

Would it be possible to get rid of all unlisted buffers as well, by specifying it as a type for instance ? Neovim usually has a bunch of these open and i'd like to close them before saving a session and closing Neovim. This way when the session is restored these buffers won't come up as unnamed (and named, for instance packer status) buffers (which won't go away during session restore with BWipeout! nameless or it's BDelete counterpart).

lcrockett avatar Nov 08 '21 21:11 lcrockett

Hi @lcrockett ,

Thanks for raising it, I don't use sessions guess that's why it was never on my radar.

Will look into it.

Thanks, Kevin

kazhala avatar Nov 14 '21 00:11 kazhala

I was encountering the same issue, and if you look into it, it would be help to be able to use regex as well with unlisted buffers. Thanks for your time.

lyndhurst avatar Jun 06 '22 14:06 lyndhurst