feat(which-key): leader-w-space starts hydra mode for window mappings

This commit is contained in:
Folke Lemaitre
2024-07-17 12:42:29 +02:00
parent bab54406dc
commit 865bf15f1c

View File

@ -195,6 +195,13 @@ return {
end,
desc = "Buffer Keymaps (which-key)",
},
{
"<c-w><space>",
function()
require("which-key").show({ keys = "<c-w>", loop = true })
end,
desc = "Window Hydra Mode (which-key)",
},
},
config = function(_, opts)
local wk = require("which-key")