From 42d523bb857f5cfb0785bf31514bcf8d31a11c1b Mon Sep 17 00:00:00 2001 From: Max Reed Date: Wed, 20 Nov 2024 12:24:26 +0100 Subject: [PATCH] telescope flex layout --- init.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/init.lua b/init.lua index 8985d1f4..411247f6 100644 --- a/init.lua +++ b/init.lua @@ -327,6 +327,20 @@ require('lazy').setup({ -- [[ Configure Telescope ]] -- See `:help telescope` and `:help telescope.setup()` require('telescope').setup { + defaults = { + layout_strategy = 'flex', + layout_config = { + flex = { + flip_columns = 120, + }, + horizontal = { + width = 0.6, + }, + vertical = { + height = 0.7, + }, + }, + }, -- You can put your default mappings / updates / etc. in here -- All the info you're looking for is in `:help telescope.setup()` --