--- @type LazyPluginSpec return { "folke/which-key.nvim", init = function() vim.o.timeout = true vim.o.timeoutlen = 300 end, config = function() local whichkey = require("which-key") whichkey.setup({ preset = "modern", replace = { key = { { "", "SPC" }, { "", "SPC" }, { "", "SPC" }, { "", "SPC" }, { "", "RET" }, { "", "RET" }, { "", "TAB" }, }, }, win = { no_overlap = false, padding = { 0, 0 }, }, layout = { width = { max = 45 }, spacing = 3, }, icons = { breadcrumb = "»", separator = "➜", group = "", }, }) whichkey.add({ { { "a", group = "harpoon" }, { "b", group = "buffer" }, { "f", group = "find" }, { "g", group = "git" }, { "h", group = "highlights" }, { "l", group = "lazy" }, { "p", group = "project" }, { "t", group = "toggle" }, { "x", group = "trouble" }, { "w", group = "window" }, }, }) end, }