From 7e6fd201b98fc0d5e059bd9e13197312a56081ef Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Sun, 7 Sep 2025 04:22:38 +0200 Subject: [PATCH] fix(telescope): update config --- lua/ow/plugins/telescope.lua | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/lua/ow/plugins/telescope.lua b/lua/ow/plugins/telescope.lua index 5c30c40..c0a4b91 100644 --- a/lua/ow/plugins/telescope.lua +++ b/lua/ow/plugins/telescope.lua @@ -24,11 +24,18 @@ return { q = actions.close, [""] = actions.close, [""] = actions.select_default, + [""] = actions.results_scrolling_up, + [""] = actions.results_scrolling_down, }, }, file_ignore_patterns = { "^%.git/", }, + layout_config = { + height = 30, + width = 80, + scroll_speed = 3, + }, }, extensions = { undo = { @@ -53,15 +60,16 @@ return { initial_mode = "normal", mappings = { n = { - [""] = actions.delete_buffer - + actions.move_to_top, - }, - i = { - [""] = actions.delete_buffer - + actions.move_to_top, + [""] = actions.delete_buffer, }, }, }, + live_grep = { + layout_config = { + width = 160, + preview_width = 80, + }, + }, diagnostics = { initial_mode = "normal", },