2022-06-20 13:49:53 +00:00
|
|
|
local telescope = require("telescope")
|
|
|
|
local actions = require("telescope.actions")
|
|
|
|
local themes = require("telescope.themes")
|
|
|
|
|
|
|
|
telescope.setup({
|
|
|
|
defaults = {
|
|
|
|
mappings = {
|
|
|
|
i = {
|
|
|
|
["<C-j>"] = actions.move_selection_next,
|
|
|
|
["<C-k>"] = actions.move_selection_previous,
|
|
|
|
["<ESC>"] = actions.close,
|
|
|
|
["<C-c>"] = actions.close
|
|
|
|
},
|
|
|
|
n = {
|
|
|
|
["<ESC>"] = actions.close,
|
|
|
|
["<C-c>"] = actions.close
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
extensions = {
|
|
|
|
["ui-select"] = {
|
|
|
|
themes.get_dropdown({})
|
|
|
|
},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
telescope.load_extension("fzf")
|
|
|
|
telescope.load_extension("ui-select")
|
2022-07-21 06:24:04 +00:00
|
|
|
telescope.load_extension("projects")
|