bufdel.nvim — Delete Neovim buffers without breaking your window layout
Hi r/neovim:
I just released bufdel.nvim because bufdelete.nvim has been archived, and I still need layout-safe buffer deletion in my daily workflow. So I decided to build a small, focused replacement with a clean API.
What’s implemented so far:
- Layout-safe buffer deletion (single or multiple buffers)
- Delete buffers via a filter function (state-based or regex-based)
- Optional
wipeor normal delete - Explicit control over which buffer to switch to after deletion
- built-in strategies (
alt,next,prev,lastused, etc.) - or a custom Lua function
- built-in strategies (
:Bdeleteand:Bwipeoutuser commands- User autocmd hooks (
BufDelPro,BufDelPost) for integrations
Repo: https://github.com/wsdjeg/bufdel.nvim
Suggestions, issues, and PRs are very welcome
Posted Jan 27, 2026, 11:25 AM UTC
3221