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
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -195,6 +195,13 @@ return {
end, end,
desc = "Buffer Keymaps (which-key)", 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) config = function(_, opts)
local wk = require("which-key") local wk = require("which-key")