2022-10-14 13:44:47 +02:00
|
|
|
local wk = require("which-key")
|
|
|
|
|
2022-10-09 03:28:51 +02:00
|
|
|
local M = {}
|
|
|
|
|
|
|
|
function M.setup()
|
2022-10-14 13:44:47 +02:00
|
|
|
wk.setup({
|
2022-10-09 03:28:51 +02:00
|
|
|
triggers = { "<leader>", "d", "y", "q", "z", "g", "c" }
|
|
|
|
})
|
2022-10-14 13:44:47 +02:00
|
|
|
|
|
|
|
wk.register({
|
|
|
|
["<leader>l"] = {
|
|
|
|
name = "Local commands"
|
|
|
|
}
|
|
|
|
})
|
2022-10-09 03:28:51 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|