local wk = require("which-key") wk.add({ { "bt", "BlameToggle virtual", desc = "Toggle Virtual Blame" }, { "c", desc = "NerdCommenter" }, { "f", desc = "Telescope - Finder" }, { "fb", "Telescope buffers", desc = "Find Open Buffers" }, { "ff", "Telescope find_files", desc = "Find File" }, { "fg", "Telescope live_grep", desc = "Live Grep" }, { "fh", "Telescope help_tags", desc = "Find Help" }, { "fi", "Telescope builtin", desc = "Search all Telescope builtins" }, { "ft", "TodoTelescope ", desc = "Open Todo in Telescope" }, { "fu", "UrlView", desc = "Display and open URLs in current buffer" }, { "n", desc = "Terminal" }, { "nb", "lua _Lazygit_toggle()", desc = "Open Lazygit" }, { "nj", "ToggleTerm", desc = "Open Terminal" }, { "r", "lua vim.lsp.buf.rename()", desc = "Rename a token" }, { "t1", "BufferGoto 1", desc = "Go to Buffer 1" }, { "td", "BufferClose", desc = "Close Current Buffer" }, { "x", desc = "Toggle Trouble" }, { "xl", "Trouble loclist toggle", desc = "" }, { "xq", "Trouble quickfix toggle", desc = "" }, { "xr", "Trouble lsp_references toggle", desc = "" }, { "xx", "Trouble diagnostics toggle", desc = "Open Trouble" }, { "tt", require("telescope").extensions.file_browser.file_browser, desc = "Open the file browser" }, { "/", require("telescope.builtin").current_buffer_fuzzy_find, desc = "Search for a string in the current buffer" }, })