local M = {} M.general = { n = { [""] = { " TmuxNavigateLeft", "window left" }, [""] = { " TmuxNavigateRight", "window right" }, [""] = { " TmuxNavigateDown", "window down" }, [""] = { " TmuxNavigateUp", "window up" }, } } M.dap = { plugin = true, n = { ["db"] = { " DapToggleBreakpoint " }, ["dus"] = { function () local widgets = require('dap.ui.widgets'); local sidebar = widgets.sidebar(widgets.scopes); sidebar.open(); end, "Open debugging sidebar" } } } M.dap_go = { plugin = true, n = { ["dgr"] = { function() require('dap-go').debug_test() end, "Debug go test" }, ["dgl"] = { function() require('dap-go').debug_last() end, "Debug last go test" } } } M.crates = { plugin = true, n = { ["rcu"] = { function () require('crates').upgrade_all_crates() end, "update crates" } } } return M