2022-07-06 14:50:45 +00:00
|
|
|
local telescope_ok, telescope = pcall(require, "telescope")
|
|
|
|
if not telescope_ok then
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
2022-07-07 15:29:02 +00:00
|
|
|
-- telescope.load_extension "file_browser"
|
2022-07-13 15:14:12 +00:00
|
|
|
local actions = require("telescope.actions")
|
2022-07-09 14:29:52 +00:00
|
|
|
telescope.load_extension('media_files')
|
2022-07-06 14:50:45 +00:00
|
|
|
telescope.setup({
|
2022-07-13 15:14:12 +00:00
|
|
|
defaults = {
|
|
|
|
mappings = {
|
|
|
|
i = {
|
|
|
|
["<C-u>"] = false,
|
|
|
|
["<esc>"] = actions.close,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
extensions = {
|
|
|
|
-- file_browser = {}
|
|
|
|
media_files = {}
|
|
|
|
}
|
2022-07-06 14:50:45 +00:00
|
|
|
})
|