nvim.nix/config/plugins/editor/bufdelete.nix

21 lines
339 B
Nix
Raw Normal View History

2024-08-08 09:58:48 +08:00
{...}: {
2024-08-04 21:19:37 +08:00
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";
}
];
}