diff --git a/lua/mappings.lua b/lua/mappings.lua index c4062a7..854970c 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -131,21 +131,6 @@ local function editor_dap() }) end -mappings.editor_completion = function(cmp, handle) - return { - [""] = cmp.mapping.select_prev_item(), - [""] = cmp.mapping.select_next_item(), - [""] = cmp.mapping.scroll_docs(-4), - [""] = cmp.mapping.scroll_docs(4), - [""] = cmp.mapping.confirm({ - behavior = cmp.ConfirmBehavior.Insert, - select = false, - }), - [""] = cmp.mapping(handle.jump_next, { "i", "s" }), - [""] = cmp.mapping(handle.jump_previous, { "i", "s" }), - } -end - local function navigations() keymaps.register({ "n", "t" }, { [""] = [[lua require'telescope.builtin'.lsp_workspace_symbols()]], @@ -166,10 +151,11 @@ local function navigations() }) keymaps.register("n", { - ["t"] = [[TodoTrouble toggle]], + ["tt"] = [[TodoTrouble toggle]], + ["tf"] = [[TodoTelescope]], ["lw"] = [[Trouble diagnostics toggle filter.severity=vim.diagnostic.severity.WARN]], ["le"] = [[Trouble diagnostics toggle filter.severity=vim.diagnostic.severity.ERROR]], - ["la"] = [[Trouble diagnostics toggle]], + ["ll"] = [[Trouble diagnostics toggle]], }) end