Groups for which-key
This commit is contained in:
@@ -1,14 +1,27 @@
|
||||
-- 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
|
||||
}
|
||||
"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" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user