18 lines
353 B
Lua
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,
|
|
}
|