summaryrefslogtreecommitdiff
path: root/lua/plugins/which-key.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/which-key.lua')
-rw-r--r--lua/plugins/which-key.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/lua/plugins/which-key.lua b/lua/plugins/which-key.lua
new file mode 100644
index 0000000..8b85fc2
--- /dev/null
+++ b/lua/plugins/which-key.lua
@@ -0,0 +1,18 @@
+return {
+ "folke/which-key.nvim",
+ event = "VeryLazy",
+ opts = {
+ -- your configuration comes here
+ -- or leave it empty to use the default settings
+ -- refer to the configuration section below
+ },
+ keys = {
+ {
+ "<leader>?",
+ function()
+ require("which-key").show({ global = false })
+ end,
+ desc = "Buffer Local Keymaps (which-key)",
+ },
+ },
+}