Files
work/term/.config/nvim/lua/plugins/which-key.lua
T
2026-04-05 09:20:56 +02:00

18 lines
353 B
Lua

return {
"folke/which-key.nvim",
event = "VeryLazy",
init = function()
vim.o.timeout = true
vim.o.timeoutlen = 300
end,
config = function()
require("which-key").setup()
local wk = require("which-key")
vim.keymap.set("n", "<leader>", function()
wk.show({ timeout = 0 })
end, { desc = "Show keybinds" })
end,
}