local M = { "folke/which-key.nvim" } local icons = require('config.icons') M.event = "VeryLazy" M.init = function() vim.o.timeout = true vim.o.timeoutlen = 300 end M.opts = { plugins = { presets = { operators = false, motions = false, } }, icons = { breadcrumb = icons.ui.DoubleChevronRight, separator = icons.ui.BoldArrowRight, group = icons.ui.Plus, }, hidden = { "", "", "", "", "call", "lua", "^:", "^ " }, triggers = "auto", triggers_blacklist = { i = { "j", "k", "v", "y" }, v = { "j", "k", "y" }, }, } M.config = function(_, opts) require("which-key").setup(opts) require("funcs").which_key_register() end return M