mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-25 01:09:49 +01:00
feat: update default telescope config
This commit is contained in:
parent
d817b27405
commit
dee6b4b21b
1 changed files with 30 additions and 2 deletions
|
@ -60,14 +60,42 @@ in {
|
|||
"--with-filename",
|
||||
"--line-number",
|
||||
"--column",
|
||||
"--smart-case"
|
||||
"--smart-case",
|
||||
"--hidden",
|
||||
"--no-ignore",
|
||||
},
|
||||
pickers = {
|
||||
find_command = {
|
||||
"${pkgs.fd}/bin/fd",
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
prompt_prefix = " ",
|
||||
selection_caret = " ",
|
||||
entry_prefix = " ",
|
||||
initial_mode = "insert",
|
||||
selection_strategy = "reset",
|
||||
sorting_strategy = "ascending",
|
||||
layout_strategy = "horizontal",
|
||||
layout_config = {
|
||||
horizontal = {
|
||||
prompt_position = "top",
|
||||
preview_width = 0.55,
|
||||
results_width = 0.8,
|
||||
},
|
||||
vertical = {
|
||||
mirror = false,
|
||||
},
|
||||
width = 0.8,
|
||||
height = 0.8,
|
||||
preview_cutoff = 120,
|
||||
},
|
||||
file_ignore_patterns = { "node_modules", ".git/", "dist/", "build/", "target/", "result/" }, -- TODO: make this configurable
|
||||
color_devicons = true,
|
||||
path_display = { "absolute" },
|
||||
set_env = { ["COLORTERM"] = "truecolor" },
|
||||
winblend = 0,
|
||||
border = {},
|
||||
}
|
||||
|
||||
${
|
||||
|
|
Loading…
Reference in a new issue