aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/whichkey.lua
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2025-10-07 21:05:44 +0100
committerJustine Smithies <justine@smithies.me.uk>2025-10-07 21:05:44 +0100
commit8e62d28cf8b662512d222c464c5ea2469045d7a3 (patch)
tree926ecc9995ad1bd406ecf5f49034e9c71bed3c33 /.config/nvim/lua/plugins/whichkey.lua
parentb417b248c874cba7ddf6ded78273df584a81931d (diff)
Initial commit
Diffstat (limited to '.config/nvim/lua/plugins/whichkey.lua')
-rw-r--r--.config/nvim/lua/plugins/whichkey.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/whichkey.lua b/.config/nvim/lua/plugins/whichkey.lua
new file mode 100644
index 0000000..9fadb97
--- /dev/null
+++ b/.config/nvim/lua/plugins/whichkey.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)",
+ },
+ },
+}