Files
nvim-config/lua/plugins/which-key.lua
T
Aaron Gorodetzky 630c7f5b1f Add which-key.nvim for keybinding discovery
Shows available keybindings in a popup after pressing a prefix key.
Groups leader-key bindings by function (find, buffers, goto/lsp).
Adds <leader>? to show buffer-local keymaps.
2026-09-14 10:18:10 -04:00

25 lines
437 B
Lua

return {
"folke/which-key.nvim",
event = "VeryLazy",
opts = {
delay = 300,
icons = {
separator = "→",
},
spec = {
{"<leader>f", group = "find",},
{"<leader>b", group = "buffers",},
{"g", group = "goto/lsp",},
},
},
keys = {
{
"<leader>?",
function()
require("which-key").show({global = false,})
end,
desc = "Buffer Local Keymaps",
},
},
}