neovim/lua/plugins/whichkey.lua

19 lines
411 B
Lua
Raw Permalink Normal View History

-- 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)",
},
},
}