19 lines
411 B
Lua
19 lines
411 B
Lua
|
-- Install and configure the which-key plugin
|
||
|
-- which helps to figure out which shortcut
|
||
|
-- you're trying to type
|
||
|
-- https://github.com/folke/which-key.nvim
|
||
|
return {
|
||
|
"folke/which-key.nvim",
|
||
|
event = "VeryLazy",
|
||
|
opts = {},
|
||
|
keys = {
|
||
|
{
|
||
|
"<leader>?",
|
||
|
function()
|
||
|
require("which-key").show({ global = true })
|
||
|
end,
|
||
|
desc = "Buffer Local Keymaps (which-key)",
|
||
|
},
|
||
|
},
|
||
|
}
|