nvim1/lua/plugins/which-key.lua

18 lines
365 B
Lua

return {
"folke/which-key.nvim",
event = "VeryLazy",
opts = {
spec = {
{ "<BS>", desc = "Decrement Selection", mode = "x" },
{ "<c-space>", desc = "Increment Selection", mode = { "x", "n" } },
},
},
keys = {
{
"<leader>?",
function() require("which-key").show({ global = false }) end,
desc = "Buffer Local Keymaps (which-key)",
},
},
}