nvim.nix/config/plugins/editor/bufdelete.nix
2024-08-08 09:58:48 +08:00

21 lines
339 B
Nix

{...}: {
plugins.bufdelete = {
enable = true;
};
keymaps = [
{
mode = "n";
key = "<leader>bd";
action = "<cmd>Bdelete<cr>";
options.desc = "Buffer Delete";
}
{
mode = "n";
key = "<leader>bw";
action = "<cmd>Bwipeout<cr>";
options.desc = "Buffer Wipeout";
}
];
}