local M = {} M.disabled = { n = { [""] = "", [""] = "", [""] = "", }, } M['rust-tools'] = { n = { [""] = { function () require("rust-tools.hover_actions").hover_actions() end, "Rust hover actions", }, ["a"] = { function () require("rust-tools.code_action_group").code_action_group() end, "Rust code action group", }, }, } M.dap = { n = { ["dl"] = { function () require("dap") end, "Load DAP", }, ["dt"] = { " DapToggleBreakpoint ", "Toggle breakpoint", }, ["dr"] = { " DapContinue ", "Continue Debugging", }, ["dc"] = { " DapTerminate ", "Close Debugger", }, } } M.dap_python = { plugin = true, n = { ["dpr"] = { function () require("dap-python").test_method() end, "Debug test method", }, } } M.dap_go = { plugin = true, n = { ["gdt"] = { function () require("dap-go").debug_test() end, "Debug go test", }, ["gdl"] = { function () require("dap-go").debug_last() end, "Toggle breakpoint", }, } } M.lazygit = { n = { ["gg"] = { " LazyGit ", "LazyGit", }, }, } M.dadbodui = { n = { ["db"] = { " DBUIToggle ", "Toggle DB UI", }, ["dn"] = { " DBUIAddConnection ", "Add new database connection", }, }, } M.noice = { n = { ["nl"] = { " Noice last ", "Show last message", }, ["nt"] ={ " Noice telescope ", "Noice telescope mode", }, ["nd"] = { " Noice dismiss ", "Dismiss messages", }, ["ns"] = { " Noice stats ", "Show Noice stats", }, }, } M.worktree = { n = { ["gwv"] = { function () local telescope = require("telescope") telescope.extensions.git_worktree.git_worktrees() end, "View Git Worktrees", }, ["gwn"] = { function () local telescope = require("telescope") telescope.extensions.git_worktree.create_git_worktree() end, "New Git Worktree", }, }, } M.neorg = { n = { ["ni"] = { " Neorg index ", "Neorg index", }, ["nr"] = { " Neorg return ", "Return from index", }, }, } M.general = { n = { [""] = { " wq ", "Save and exit", }, ["q"] = { " wq ", "Save and exit", }, }, } M.trouble = { n = { ["tt"] = { " Trouble diagnostics toggle ", "Diagnostics (Trouble)", }, } } M.tabufline = { n = { [""] = { function() require("nvchad.tabufline").tabuflinePrev() end, "Goto prev buffer", }, [""] = { function() require("nvchad.tabufline").tabuflineNext() end, "Goto next buffer", }, }, } M.nvimtree = { n = { ["e"] = { " NvimTreeToggle ", "Toggle nvimtree", }, }, } M.lazydocker = { n = { ["ld"] = { " LazyDocker ", "Lazy Docker", }, }, } M.cloak = { n = { ["k"] = { " CloakToggle ", "Toggle Cloak", }, }, } return M