mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-02 21:44:37 +02:00
feat(editor): added mini.bufremove
This commit is contained in:
parent
9b120aec36
commit
3429ad877b
2 changed files with 23 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
||||||
"lualine.nvim": { "branch": "master", "commit": "32a7382a75a52e8ad05f4cec7eeb8bbfbe80d461" },
|
"lualine.nvim": { "branch": "master", "commit": "32a7382a75a52e8ad05f4cec7eeb8bbfbe80d461" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "aa25b4153d2f2636c3b3a8c8360349d2b29e7ae3" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "aa25b4153d2f2636c3b3a8c8360349d2b29e7ae3" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "1592493e3406c271e9128b4d424731e25f1ff2a1" },
|
"mason.nvim": { "branch": "main", "commit": "1592493e3406c271e9128b4d424731e25f1ff2a1" },
|
||||||
|
"mini.bufremove": { "branch": "main", "commit": "96c2a7f3e7d079639a0e23d2fc0d4585e5d02dfd" },
|
||||||
"mini.comment": { "branch": "main", "commit": "e5294cc3e75bafb2369f235d31a98b01a9cc67ad" },
|
"mini.comment": { "branch": "main", "commit": "e5294cc3e75bafb2369f235d31a98b01a9cc67ad" },
|
||||||
"mini.pairs": { "branch": "main", "commit": "fec9aba50912d8c3d92d07d6a77952de84f8d7ad" },
|
"mini.pairs": { "branch": "main", "commit": "fec9aba50912d8c3d92d07d6a77952de84f8d7ad" },
|
||||||
"neo-tree.nvim": { "branch": "v2.x", "commit": "3b41f0d17139bb156f1acd907608f63e0e307caf" },
|
"neo-tree.nvim": { "branch": "v2.x", "commit": "3b41f0d17139bb156f1acd907608f63e0e307caf" },
|
||||||
|
|
|
@ -43,6 +43,7 @@ return {
|
||||||
wk.register({
|
wk.register({
|
||||||
f = { name = "+file" },
|
f = { name = "+file" },
|
||||||
g = { name = "+git" },
|
g = { name = "+git" },
|
||||||
|
b = { name = "+buffer" },
|
||||||
}, { prefix = "<leader>" })
|
}, { prefix = "<leader>" })
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
@ -87,4 +88,25 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- buffer remove
|
||||||
|
{
|
||||||
|
"echasnovski/mini.bufremove",
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>bd",
|
||||||
|
function()
|
||||||
|
require("mini.bufremove").delete(0, false)
|
||||||
|
end,
|
||||||
|
desc = "Delete Buffer",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>bD",
|
||||||
|
function()
|
||||||
|
require("mini.bufremove").delete(0, true)
|
||||||
|
end,
|
||||||
|
desc = "Delete Buffer (Force)",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue