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";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|