dots/.config/nvim/lua/plugins/util/which-key.lua

24 lines
392 B
Lua

return {
{
"folke/which-key.nvim",
event = "VeryLazy",
opts = {},
keys = {
{
"<leader>!",
function()
require("which-key").show({ global = true })
end,
desc = "Buffer All Keymaps (which-key)",
},
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Local Keymaps (which-key)",
},
},
},
}