telescope

This commit is contained in:
mightypanders 2023-04-11 13:34:37 +02:00
parent 31bff1d28f
commit cf7e6e2aea

View File

@ -9,13 +9,34 @@ require('telescope').setup({
path_display = { "smart" }, path_display = { "smart" },
}, },
pickers = { pickers = {
live_grep = {
results_title = false,
layout_strategy = 'vertical',
dynamic_preview_title = true,
sorting_strategy = 'ascending',
additional_args = { '--trim' },
layout_config = {
prompt_position = 'top',
width = 0.95,
height = 0.95,
mirror = true,
--flex = {
-- flip_columns = 100,
-- flip_lines = 10,
-- vertical = {
-- mirror = false,
-- },
-- horizontal = {
-- mirror = false
-- },
--},
}
},
find_files = { find_files = {
theme = "dropdown", theme = "dropdown",
layout_config = { layout_config = {
horizontal = { width = 0.5 } horizontal = { width = 0.5 }
} }
} }
}, },
extensions = { extensions = {