return { "folke/which-key.nvim", event = "VeryLazy", init = function() vim.o.timeout = true vim.o.timeoutlen = 300 end, config = function() local wk = require("which-key") -- f key register wk.register({ f = { name = "Files", b = { "Telescope buffers", "Find Buffer" }, f = { "Telescope find_files", "Find File" }, r = { "Telescope oldfiles", "Open Recent File" }, s = { "Telescope live_grep", "Search Word" }, t = { "Telescope tags", "Find Tag" }, w = { "Telescope grep_string", "Find Word" }, } }, { prefix = "" }) -- q key register wk.register({ q = {"bdelete", "Close Buffer"} }, { prefix = "" }) end }