Add nvim config
This commit is contained in:
parent
b227b7cb19
commit
25a48b5694
48 changed files with 1550 additions and 2 deletions
20
home/.config/nvim/lua/plugins/which-key.lua
Normal file
20
home/.config/nvim/lua/plugins/which-key.lua
Normal 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)",
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue