init
This commit is contained in:
26
nvim/lua/plugins/extras/ui/comment-box.lua
Normal file
26
nvim/lua/plugins/extras/ui/comment-box.lua
Normal file
@@ -0,0 +1,26 @@
|
||||
local prefix = "<leader>ac"
|
||||
|
||||
return {
|
||||
{
|
||||
"LudoPinelli/comment-box.nvim",
|
||||
opts = {},
|
||||
vscode = true,
|
||||
keys = {
|
||||
{ prefix .. "b", "<cmd>CBccbox<CR>", mode = { "n", "v" }, desc = "Comment Box" },
|
||||
{ prefix .. "t", "<cmd>CBllline<CR>", mode = { "n", "v" }, desc = "Tiled Line" },
|
||||
{ prefix .. "l", "<cmd>CBline<CR>", desc = "Line" },
|
||||
{ prefix .. "m", "<cmd>CBllbox14<CR>", mode = { "n", "v" }, desc = "Marked" },
|
||||
{ prefix .. "c", "<cmd>CBcatalog<CR>", desc = "Catalog" },
|
||||
{ prefix .. "d", "<cmd>CBd<CR>", mode = { "n", "v" }, desc = "Delete Comment Style" },
|
||||
},
|
||||
},
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
opts = {
|
||||
spec = {
|
||||
{ "<leader>A", group = "annotation/snippets", icon = " " },
|
||||
{ prefix, group = "comments", icon = " " },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user