dotfiles/cli/vim/neovim/lua/plugins/telescope.lua

23 lines
494 B
Lua
Raw Normal View History

2022-07-06 14:50:45 +00:00
local telescope_ok, telescope = pcall(require, "telescope")
if not telescope_ok then
return
end
-- telescope.load_extension "file_browser"
2022-07-13 15:14:12 +00:00
local actions = require("telescope.actions")
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
})