chore(nvim): update keymaps, update lazyvim

This commit is contained in:
2024-09-03 13:12:26 +03:00
parent 1aca769ebf
commit 7fc40e3eab
2 changed files with 8 additions and 14 deletions

View File

@@ -29,7 +29,7 @@
"lazyvim.plugins.extras.util.mini-hipatterns" "lazyvim.plugins.extras.util.mini-hipatterns"
], ],
"news": { "news": {
"NEWS.md": "6077" "NEWS.md": "6520"
}, },
"version": 6 "version": 6
} }

View File

@@ -6,17 +6,11 @@ local wk = require("which-key")
-- ╭──────────────────────────────────────────────────────────╮ -- ╭──────────────────────────────────────────────────────────╮
-- │ Comment box │ -- │ Comment box │
-- ╰──────────────────────────────────────────────────────────╯ -- ╰──────────────────────────────────────────────────────────╯
wk.register({ wk.add({
["<Leader>"] = { { "<Leader>bc", group = "□ Comment box" },
b = { { "<Leader>bcb", "<Cmd>CBccbox<CR>", desc = "Box Title" },
c = { { "<Leader>bcd", "<Cmd>CBd<CR>", desc = "Remove a box" },
name = "□ Comment boxes", { "<Leader>bcl", "<Cmd>CBline<CR>", desc = "Simple Line" },
b = { "<Cmd>CBccbox<CR>", "Box Title" }, { "<Leader>bcm", "<Cmd>CBllbox14<CR>", desc = "Marked" },
t = { "<Cmd>CBllline<CR>", "Titled Line" }, { "<Leader>bct", "<Cmd>CBllline<CR>", desc = "Titled Line" },
l = { "<Cmd>CBline<CR>", "Simple Line" },
m = { "<Cmd>CBllbox14<CR>", "Marked" },
d = { "<Cmd>CBd<CR>", "Remove a box" },
},
},
},
}) })