[Telescope] Improve keybinds

This commit is contained in:
2025-08-23 17:04:52 +02:00
parent 82cb9c4673
commit 1fbc072e4c

View File

@@ -15,7 +15,8 @@ return {
i = { i = {
["<C-j>"] = actions.move_selection_next, ["<C-j>"] = actions.move_selection_next,
["<C-k>"] = actions.move_selection_previous, ["<C-k>"] = actions.move_selection_previous,
["<C-q>"] = actions.send_selected_to_qflist + actions.open_qflist, -- TODO investigate ["<C-q>"] = actions.smart_add_selected_to_qflist,
["<C-A-q>"] = actions.smart_send_selected_to_qflist,
}, },
}, },
}, },
@@ -64,5 +65,9 @@ return {
-- Implementations -- Implementations
opts.desc = "Show implementations" opts.desc = "Show implementations"
vim.keymap.set("n", "<leader>fi", ":Telescope lsp_implementations<CR>", opts) vim.keymap.set("n", "<leader>fi", ":Telescope lsp_implementations<CR>", opts)
-- quickfix
opts.desc = "Show quickfix list"
vim.keymap.set("n", "<leader>fq", ":Telescope quickfix<CR>", opts)
end, end,
} }