aboutsummaryrefslogtreecommitdiff
path: root/lua/user/telescope.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/user/telescope.lua')
-rw-r--r--lua/user/telescope.lua13
1 files changed, 9 insertions, 4 deletions
diff --git a/lua/user/telescope.lua b/lua/user/telescope.lua
index d27069b..d2c449a 100644
--- a/lua/user/telescope.lua
+++ b/lua/user/telescope.lua
@@ -4,18 +4,23 @@ if not status_ok then
return
end
-
telescope.load_extension('media_files')
+telescope.load_extension('ui-select')
local actions = require "telescope.actions"
telescope.setup {
defaults = {
- prompt_prefix = " ",
+ prompt_prefix = " ",
selection_caret = " ",
- path_display = { "smart" },
- mappings = {
+ extensions = {
+ ["ui-select"] = {
+ require("telescope.themes").get_dropdown {}
+ }
+ },
+
+ mappings = {
i = {
["<C-n>"] = actions.cycle_history_next,
["<C-p>"] = actions.cycle_history_prev,