2023-09-28 11:13:02 +02:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
"folke/flash.nvim",
|
|
|
|
enabled = false,
|
|
|
|
},
|
2024-05-24 16:15:55 +02:00
|
|
|
{ "aohoyd/broot.nvim", opts = {} },
|
2023-11-02 20:04:31 +01:00
|
|
|
{
|
|
|
|
"telescope.nvim",
|
2024-05-23 22:53:22 +02:00
|
|
|
config = function()
|
|
|
|
local telescope = require("telescope")
|
|
|
|
local actions = require("telescope.actions")
|
|
|
|
|
|
|
|
telescope.setup({
|
|
|
|
defaults = {
|
|
|
|
layout_strategy = "horizontal",
|
|
|
|
layout_config = {
|
|
|
|
anchor = "top",
|
|
|
|
horizontal = {
|
|
|
|
prompt_position = "top",
|
|
|
|
mirror = false,
|
|
|
|
preview_width = 0.4,
|
|
|
|
-- preview_height = 0.5,
|
|
|
|
},
|
|
|
|
width = 0.9,
|
|
|
|
height = 0.9,
|
|
|
|
preview_cutoff = 10,
|
|
|
|
},
|
|
|
|
mappings = {
|
|
|
|
i = {
|
|
|
|
["<esc>"] = actions.close, -- <Esc> close popup
|
|
|
|
["<C-u>"] = false, -- <C-u> clear prompt
|
|
|
|
},
|
|
|
|
},
|
|
|
|
sorting_strategy = "ascending",
|
|
|
|
winblend = 0,
|
|
|
|
wrap_results = true,
|
|
|
|
previewer = false,
|
|
|
|
preview = {
|
|
|
|
hide_on_startup = true,
|
2023-11-02 20:04:31 +01:00
|
|
|
},
|
2024-05-14 15:48:18 +02:00
|
|
|
},
|
2024-05-23 22:53:22 +02:00
|
|
|
})
|
|
|
|
end,
|
2023-11-02 20:04:31 +01:00
|
|
|
},
|
2023-09-28 11:13:02 +02:00
|
|
|
}
|