local wk = require("which-key") wk.register({ f = { name = "file", f = { "Telescope find_files search_dirs=~/Projects/", "Find File (~)" }, a = { "Telescope find_files hidden=true search_dirs=~", "Find Hidden (~)" }, p = { "Telescope find_files hidden=true", "Find File" }, g = { "Telescope live_grep", "Find Word" }, s = { ":w", "Write" }, w = { ":w!", "Force Write" }, e = { ":e ", "Edit File", silent = false }, }, t = { name = "tabs", n = { "tabnew", "New Tab" }, j = { "tabprev", "Previous Tab" }, k = { "tabnext", "Next Tab" }, }, g = { name = "git", p = { "Neogit cwd=" .. vim.fn.expand("%:p:h") .. " push", "Push Popup" }, c = { "Neogit cwd=" .. vim.fn.expand("%:p:h") .. " commit", "Commit Popup" }, g = { "Neogit", "Neogit" }, }, ["."] = { ":e ", "Edit File", silent = false }, }, { prefix = "" })