Epic, humorous, and modern buffer management plugin for Neovim — nuke, blast, or yeet your buffers with style!
- 🧨 Dynamic floating menu with border for buffer actions
- 🚀 Close hidden buffers, current buffer, all except current, or all buffers
- 🎛️ Easily overridable keymap and options (default:
<C-q>) - 🧩 Optionally disable built-in keymaps and use only the
:BufferinatorMenucommand - 📝 LuaDoc-style API documentation & Neovim help file (
:help bufferinator) - 🧪 Automated tests with plenary.nvim
- 🪶 No runtime plugin dependencies (except for tests)
- ⚖️ MIT License
With lazy.nvim:
{
"mthnglac/bufferinator.nvim",
config = function() require("bufferinator").setup() end -- or use `config = true`
}require("bufferinator").setup({
-- Default keymap to open the menu (normal mode)
keymap = "<C-q>",
-- Set to true to disable built-in keymaps
-- Only use the :BufferinatorMenu command or your own keymap
disable_keymaps = false,
})
-- Example: set your own keymap to open the menu via the command
-- vim.keymap.set("n", "<leader>bm", function() vim.cmd("BufferinatorMenu") end)- Cancel the action
- Close hidden buffers
- Close current buffer
- Close all buffers except current
- Close all buffers (including current)
:BufferinatorMenu— Open the Bufferinator floating menu
:help bufferinatorfor full help and usage details.
MIT