mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 03:30:36 +00:00
feat(telescope.lua): add key mappings to use <C-t> to open trouble and send to qflist with <C-q> in insert and normal mode to improve usability and productivity
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
local telescope = require("telescope")
|
||||
local builtin = require("telescope.builtin")
|
||||
local actions = require("telescope.actions")
|
||||
local trouble = require("trouble.sources.telescope")
|
||||
|
||||
|
||||
@@ -16,10 +17,12 @@ telescope.setup({
|
||||
},
|
||||
mappings = {
|
||||
i = {
|
||||
["<C-q>"] = trouble.open,
|
||||
["<C-t>"] = trouble.open,
|
||||
["<C-q>"] = actions.send_to_qflist,
|
||||
},
|
||||
n = {
|
||||
["<C-q>"] = trouble.open,
|
||||
["<C-t>"] = trouble.open,
|
||||
["<C-q>"] = actions.send_to_qflist,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user