update configs
This commit is contained in:
parent
cb9096c05a
commit
625a356917
17 changed files with 485 additions and 171 deletions
16
after/plugin/telescope.lua
Normal file
16
after/plugin/telescope.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
-- Go to referenece
|
||||
-- vim.keymap.del("n", "gr")
|
||||
-- vim.keymap.set("n", "gr", require('telescope.builtin').lsp_references, { desc = '[G]oto [R]reference', noremap = false })
|
||||
local actions = require("telescope.actions")
|
||||
local trouble = require("trouble.providers.telescope")
|
||||
|
||||
local telescope = require("telescope")
|
||||
|
||||
telescope.setup {
|
||||
defaults = {
|
||||
mappings = {
|
||||
i = { ["<c-t>"] = trouble.open_with_trouble },
|
||||
n = { ["<c-t>"] = trouble.open_with_trouble },
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue