2022-11-07 16:41:35 +00:00
|
|
|
require('telescope.actions')
|
2022-11-01 14:52:38 +00:00
|
|
|
local trouble = require('trouble.providers.telescope')
|
|
|
|
|
2022-11-07 16:41:35 +00:00
|
|
|
require('telescope').setup {
|
2023-01-26 17:10:57 +00:00
|
|
|
extensions = {
|
|
|
|
fzf = {
|
|
|
|
fuzzy = true, -- false will only do exact matching
|
|
|
|
override_generic_sorter = true, -- override the generic sorter
|
|
|
|
override_file_sorter = true, -- override the file sorter
|
|
|
|
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
|
|
|
|
-- the default case_mode is "smart_case"
|
|
|
|
},
|
|
|
|
},
|
2022-11-02 13:40:30 +00:00
|
|
|
defaults = {
|
|
|
|
mappings = {
|
|
|
|
i = { ["<c-t>"] = trouble.open_with_trouble },
|
|
|
|
n = { ["<c-t>"] = trouble.open_with_trouble },
|
2022-11-01 14:52:38 +00:00
|
|
|
},
|
2022-11-02 13:40:30 +00:00
|
|
|
},
|
2022-11-01 14:52:38 +00:00
|
|
|
}
|
2023-01-26 17:10:57 +00:00
|
|
|
|
|
|
|
require('telescope').load_extension('fzf')
|
|
|
|
require('telescope').load_extension('aerial')
|
|
|
|
require('telescope').load_extension('notify')
|
|
|
|
require('telescope').load_extension('projects')
|