nixvim/config/buffer/bufdelete.nix

23 lines
347 B
Nix

{ helpers, ... }:
{
plugins = {
bufdelete = {
enable = true;
};
};
keymaps = [
{
mode = [ "n" ];
key = "<C-x>";
action = helpers.mkRaw ''
function()
require("bufdelete").bufdelete(0, false)
end
'';
options = {
desc = "Toggle terminal";
};
}
];
}