[Telescope] Improve keybinds
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user