about summary refs log tree commit diff
path: root/.config/nvim/lua/plugins/which-key.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins/which-key.lua')
-rw-r--r--.config/nvim/lua/plugins/which-key.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/which-key.lua b/.config/nvim/lua/plugins/which-key.lua
new file mode 100644
index 0000000..746b399
--- /dev/null
+++ b/.config/nvim/lua/plugins/which-key.lua
@@ -0,0 +1,17 @@
+return {
+  "folke/which-key.nvim",
+  event = "VeryLazy",
+  opts = {
+    icons = { mappings = false },
+    delay = 1000
+  },
+  keys = {
+    {
+      "<leader>?",
+      function()
+        require("which-key").show({ global = false })
+      end,
+      desc = "Buffer Local Keymaps",
+    },
+  },
+}