add a keybindings help plugin.
This commit is contained in:
parent
e0b1b765f3
commit
ec76c95c91
20
lua/plugins/help.lua
Normal file
20
lua/plugins/help.lua
Normal 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)",
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user