return { "folke/which-key.nvim", event = "VeryLazy", init = function() vim.o.timeout = true vim.o.timeoutlen = 500 end, config = function() local wk = require("which-key") wk.register({ n = { name = "vim", h = { "nohl", "Close Search Highlights" }, }, s = { name = "splits", v = { "v", "Split vertical" }, s = { "s", "Split horizontal" }, e = { "=", "Make Splits equal" }, x = { "close", "Close Split" }, }, m = { name = "menu", l = { "Lazy", "Open Lazy Menu" }, m = { "Mason", "Open Mason Menu" }, }, g = { name = "git", t = { "Gitsigns toggle_signs", "Toggle Gitsigns" }, h = { "Gitsigns toggle_linehl", "Toggle Line Highlights" }, s = { "Telescope git_status", "git status" }, d = { "Gvdiff", "Differences" }, w = { "Gwrite", "Add File" }, N = { "Gitsigns next_hunk", "Go to next hunk" }, P = { "Gitsigns prev_hunk", "Go to previous hunk" }, c = { "Git commit", "Commit" }, H = { "Gitsigns stage_hunk", "Stage hunk" }, p = { "Git push", "Push" }, C = { "Telescope git_commits", "View commits" }, b = { "Telescope git_branches", "View branches" }, }, }, { prefix = "" }) end, }