feat(mini.surround): added lazy keys with descriptions to mini.surround

This commit is contained in:
Folke Lemaitre 2023-01-16 21:16:51 +01:00
parent 3d498ee713
commit bf31eccae2
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 15 additions and 2 deletions

View file

@ -138,7 +138,6 @@ return {
event = "VeryLazy",
opts = {
plugins = { spelling = true },
key_labels = { ["<leader>"] = "SPC" },
},
config = function(_, opts)
local wk = require("which-key")
@ -146,6 +145,7 @@ return {
wk.register({
mode = { "n", "v" },
["g"] = { name = "+goto" },
["gz"] = { name = "+surround" },
["]"] = { name = "+next" },
["["] = { name = "+prev" },
["<leader><tab>"] = { name = "+tabs" },