fix(nvim): make closing buffers work as expected
This commit is contained in:
parent
8da217aee3
commit
2ed0bfc81a
@ -1,4 +1,5 @@
|
||||
{
|
||||
pkgs,
|
||||
helpers,
|
||||
icons,
|
||||
...
|
||||
@ -25,8 +26,10 @@
|
||||
text_align = "left";
|
||||
}
|
||||
];
|
||||
closeCommand = "Bdelete! %d";
|
||||
};
|
||||
};
|
||||
extraPlugins = with pkgs.vimPlugins; [bufdelete-nvim];
|
||||
keymaps = [
|
||||
{
|
||||
mode = "n";
|
||||
@ -67,7 +70,7 @@
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>bd";
|
||||
action = "<cmd>bdelete<cr>";
|
||||
action = "<cmd>Bdelete<cr>";
|
||||
options = {
|
||||
desc = "Delete buffer";
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user