opening with trouble

This commit is contained in:
Miguel Palhas
2024-10-23 14:30:56 +01:00
parent a071410039
commit c2630d1594
+4 -1
View File
@@ -1,5 +1,7 @@
dofile(vim.g.base46_cache .. "telescope")
local open_with_trouble = require("trouble.sources.telescope").open
local options = {
pickers = {
colorscheme = { enable_preview = true },
@@ -33,7 +35,8 @@ local options = {
height = 0.80,
},
mappings = {
n = { ["q"] = require("telescope.actions").close },
n = { ["q"] = open_with_trouble, ["t"] = open_with_trouble },
i = { ["t"] = open_with_trouble },
},
},