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.timeoutlen = 500
|
||||
end,
|
||||
config = function()
|
||||
config = function(_, opts)
|
||||
local wk = require("which-key")
|
||||
wk.add({
|
||||
{ "<leader>b", group = "Buffers" },
|
||||
@ -23,6 +23,10 @@ return {
|
||||
{ "<leader>w", group = "Session" },
|
||||
{ "<leader>x", group = "Trouble" },
|
||||
})
|
||||
|
||||
wk.setup(opts)
|
||||
end,
|
||||
opts = {},
|
||||
opts = {
|
||||
preset = "helix",
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user