which-key
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
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,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user