nvim: helix preset for which-key

This commit is contained in:
Václav Uruba 2025-10-31 23:50:22 +01:00
parent fcae5f2d6b
commit 4b2ddd8fcc
Signed by: uruba
GPG Key ID: 9D8E987C4B2E1E9C

View File

@ -5,7 +5,7 @@ return {
vim.o.timeout = true
vim.o.timeoutlen = 500
end,
config = function()
config = function(_, opts)
local wk = require("which-key")
wk.add({
{ "<leader>b", group = "Buffers" },
@ -23,6 +23,10 @@ return {
{ "<leader>w", group = "Session" },
{ "<leader>x", group = "Trouble" },
})
wk.setup(opts)
end,
opts = {},
opts = {
preset = "helix",
},
}