28 lines
781 B
Lua
28 lines
781 B
Lua
-- https://github.com/folke/which-key.nvim
|
|
return {
|
|
"folke/which-key.nvim",
|
|
event = "VeryLazy",
|
|
init = function()
|
|
vim.o.timeout = true
|
|
vim.o.timeoutlen = 500
|
|
end,
|
|
opts = {
|
|
-- your configuration comes here
|
|
-- or leave it empty to use the default settings
|
|
-- refer to the configuration section below
|
|
spec = {
|
|
{ "<leader>c", group = "[C]lear / [C]all" },
|
|
{ "<leader>d", group = "[D]iagnostic" },
|
|
{ "<leader>e", group = "File [E]xplorer" },
|
|
{ "<leader>f", group = "[F]ind" },
|
|
{ "<leader>g", group = "[G]it" },
|
|
{ "<leader>h", group = "[H]istory" },
|
|
{ "<leader>l", group = "[L]SP" },
|
|
{ "<leader>p", group = "[P]anes" },
|
|
{ "<leader>s", group = "[S]ession" },
|
|
{ "<leader>t", group = "[T]abs" },
|
|
{ "<leader>u", group = "[U]i" },
|
|
},
|
|
},
|
|
}
|