add a keybindings help plugin.

This commit is contained in:
niuzhaolong 2025-05-24 13:18:50 +08:00
parent e0b1b765f3
commit ec76c95c91

20
lua/plugins/help.lua Normal file
View File

@ -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 = {
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Local Keymaps (which-key)",
},
},
}