1
0
Fork 0

neovim: which-key

This commit is contained in:
Jeremy Kaplan 2024-12-06 18:38:47 -08:00
commit 8b15f3e9d5
2 changed files with 48 additions and 0 deletions

View file

@ -113,4 +113,51 @@ return {
check_ts = true,
},
},
{
"folke/which-key.nvim",
event = "VeryLazy",
opts = {
preset = "helix",
keys = {
Up = "",
Down = "",
Left = "",
Right = "",
C = "^",
M = "M-",
D = "W-",
S = "S-",
CR = "CR",
Esc = "Esc",
ScrollWheelDown = "",
ScrollWheelUp = "",
NL = "",
BS = "",
Space = "Space",
Tab = "Tab",
F1 = "F1",
F2 = "F2",
F3 = "F3",
F4 = "F4",
F5 = "F5",
F6 = "F6",
F7 = "F7",
F8 = "F8",
F9 = "F9",
F10 = "F10",
F11 = "F11",
F12 = "F12",
},
},
keys = {
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Local Keymaps (which-key)",
},
},
}
}