nvim: helix preset for which-key
This commit is contained in:
parent
fcae5f2d6b
commit
4b2ddd8fcc
@ -5,7 +5,7 @@ return {
|
|||||||
vim.o.timeout = true
|
vim.o.timeout = true
|
||||||
vim.o.timeoutlen = 500
|
vim.o.timeoutlen = 500
|
||||||
end,
|
end,
|
||||||
config = function()
|
config = function(_, opts)
|
||||||
local wk = require("which-key")
|
local wk = require("which-key")
|
||||||
wk.add({
|
wk.add({
|
||||||
{ "<leader>b", group = "Buffers" },
|
{ "<leader>b", group = "Buffers" },
|
||||||
@ -23,6 +23,10 @@ return {
|
|||||||
{ "<leader>w", group = "Session" },
|
{ "<leader>w", group = "Session" },
|
||||||
{ "<leader>x", group = "Trouble" },
|
{ "<leader>x", group = "Trouble" },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
wk.setup(opts)
|
||||||
end,
|
end,
|
||||||
opts = {},
|
opts = {
|
||||||
|
preset = "helix",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user