From 2574b74ca1deae92150c493f3742d3acb3790e86 Mon Sep 17 00:00:00 2001 From: Mathias Schneider Date: Sun, 5 Apr 2026 09:20:56 +0200 Subject: [PATCH] which-key --- term/.config/nvim/lua/plugins/which-key.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 term/.config/nvim/lua/plugins/which-key.lua 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, +}