From ec76c95c91cf3b0ad0347d14dd7e3f1b32682efe Mon Sep 17 00:00:00 2001 From: niuzhaolong Date: Sat, 24 May 2025 13:18:50 +0800 Subject: [PATCH] add a keybindings help plugin. --- lua/plugins/help.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lua/plugins/help.lua diff --git a/lua/plugins/help.lua b/lua/plugins/help.lua new file mode 100644 index 0000000..b3ef3cb --- /dev/null +++ b/lua/plugins/help.lua @@ -0,0 +1,20 @@ +-- Some help functions +-- +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 = { + { + "?", + function() + require("which-key").show({ global = false }) + end, + desc = "Buffer Local Keymaps (which-key)", + }, + }, +}