fix(telescope): update config

This commit is contained in:
2025-09-07 04:22:38 +02:00
parent 44dfa47f41
commit 7e6fd201b9
+14 -6
View File
@@ -24,11 +24,18 @@ return {
q = actions.close,
["<C-c>"] = actions.close,
["<C-l>"] = actions.select_default,
["<C-u>"] = actions.results_scrolling_up,
["<C-d>"] = 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 = {
["<C-d>"] = actions.delete_buffer
+ actions.move_to_top,
},
i = {
["<C-d>"] = actions.delete_buffer
+ actions.move_to_top,
["<C-x>"] = actions.delete_buffer,
},
},
},
live_grep = {
layout_config = {
width = 160,
preview_width = 80,
},
},
diagnostics = {
initial_mode = "normal",
},