feat(nvim): Add support for which key

This commit is contained in:
js0ny 2025-01-14 19:44:55 +00:00
parent 9b90b02442
commit 1b2fc3015b
21 changed files with 276 additions and 206 deletions

View file

@ -91,7 +91,7 @@ ins_left({
ins_left({
-- mode component
function()
return ""
return ""
end,
color = function()
-- auto change color according to neovims mode

View file

@ -0,0 +1,18 @@
return {
"folke/which-key.nvim",
event = "VeryLazy",
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
},
keys = {
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Local Keymaps (which-key)",
},
},
}