diff --git a/term/.config/nvim/lua/plugins/which-key.lua b/term/.config/nvim/lua/plugins/which-key.lua new file mode 100644 index 0000000..3a1cf45 --- /dev/null +++ b/term/.config/nvim/lua/plugins/which-key.lua @@ -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", "", function() + wk.show({ timeout = 0 }) + end, { desc = "Show keybinds" }) + + end, +}