Add nvim config

This commit is contained in:
Marko Korhonen 2024-09-16 20:40:42 +03:00
parent b227b7cb19
commit 25a48b5694
48 changed files with 1550 additions and 2 deletions

View file

@ -0,0 +1,20 @@
-- Display possible keybinds
--- @type LazyPluginSpec
return {
"folke/which-key.nvim",
config = function()
require("which-key").add({
{ "<leader>", group = "Leader" },
{ "g", group = "Go to" },
})
end,
keys = {
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Local Keymaps (which-key)",
},
},
}