local wk = require("which-key") wk.add({ { ".", ":e ", desc = "Edit File", silent = false }, { "b", group = "buffers" }, { "bc", "BufferClose!", desc = "Close" }, { "bd", "BufferDelete!", desc = "Delete" }, { "e", group = "editor" }, { "ec", "noh", desc = "Clear Search" }, { "f", group = "file" }, { "fa", "Telescope find_files hidden=true search_dirs=~", desc = "Find Hidden (~)" }, { "fe", ":e ", desc = "Edit File", silent = false }, { "ff", "Telescope find_files", desc = "Find File (~)" }, { "fg", "Telescope live_grep", desc = "Find Word" }, { "fp", "Telescope find_files hidden=true", desc = "Find File" }, { "fs", ":w!", desc = "Force Write" }, { "fw", ":w", desc = "Write" }, { "g", group = "git" }, { "gg", "Neogit", desc = "Neogit" }, { "r", group = "tree" }, { "rf", "NvimTreeFocus", desc = "Focus" }, { "rt", "NvimTreeToggle", desc = "Toggle" }, { "t", group = "tabs" }, { "th", "BufferMovePrevious", desc = "Move Previous" }, { "tj", "BufferPrevious", desc = "Previous" }, { "tk", "BufferNext", desc = "Next" }, { "tl", "BufferMoveNext", desc = "Move Next" }, { "tn", "tabnew", desc = "New Tab" }, { "l", group = "lazy" }, { "lu", "Lazy update", desc = "Update Plugins" }, })