diff --git a/.config/nvim/lua/plugins/extras/coding/annotation.lua b/.config/nvim/lua/plugins/extras/coding/annotation.lua index 91417fb7..4017a968 100644 --- a/.config/nvim/lua/plugins/extras/coding/annotation.lua +++ b/.config/nvim/lua/plugins/extras/coding/annotation.lua @@ -8,7 +8,7 @@ return { -- stylua: ignore keys = { { "ad", function() require("neogen").generate() end, desc = "Default Annotation" }, - { "ac", function() require("neogen").generate({ type = "class" }) end, desc = "Class" }, + { "aC", function() require("neogen").generate({ type = "class" }) end, desc = "Class" }, { "af", function() require("neogen").generate({ type = "func" }) end, desc = "Function" }, { "at", function() require("neogen").generate({ type = "type" }) end, desc = "Type" }, { "aF", function() require("neogen").generate({ type = "file" }) end, desc = "File" }, diff --git a/.config/nvim/lua/plugins/extras/ui/comment-box.lua b/.config/nvim/lua/plugins/extras/ui/comment-box.lua index 04b4fe6b..6ba62cf1 100644 --- a/.config/nvim/lua/plugins/extras/ui/comment-box.lua +++ b/.config/nvim/lua/plugins/extras/ui/comment-box.lua @@ -1,5 +1,23 @@ return { - "LudoPinelli/comment-box.nvim", - event = "LazyFile", - opts = {}, + { + "LudoPinelli/comment-box.nvim", + opts = {}, + keys = { + { "acb", "CBccbox", mode = { "n", "v" }, desc = "Comment Box" }, + { "act", "CBllline", mode = { "n", "v" }, desc = "Tiled Line" }, + { "acl", "CBline", desc = "Line" }, + { "acm", "CBllbox14", mode = { "n", "v" }, desc = "Marked" }, + { "acc", "CBcatalog", desc = "Catalog" }, + { "acd", "CBd", mode = { "n", "v" }, desc = "Delete Comment Style" }, + }, + }, + { + "folke/which-key.nvim", + opts = { + defaults = { + ["a"] = { name = " annotation/snippets" }, + ["ac"] = { name = "comments" }, + }, + }, + }, }