feat(nvim): make Bdelete force remove terms
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 58s

This commit is contained in:
Price Hiller 2024-07-02 00:14:32 -05:00
parent 1eea705450
commit f97d2e3579
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -11,7 +11,15 @@ return {
"famiu/bufdelete.nvim",
cmd = "Bdelete",
keys = {
{ "<A-x>", "<cmd>Bdelete<cr>", desc = "Close Buffer" },
{ "<A-x>", "<cmd>Bdelete<cr>", desc = "Close Buffer", mode = { "", "!", "v" } },
{
"<A-x>",
function()
require("bufdelete").bufdelete(0, true)
end,
desc = "Close Buffer",
mode = { "t" },
},
},
},
}