mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00: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",
|
"--with-filename",
|
||||||
"--line-number",
|
"--line-number",
|
||||||
"--column",
|
"--column",
|
||||||
"--smart-case"
|
"--smart-case",
|
||||||
|
"--hidden",
|
||||||
|
"--no-ignore",
|
||||||
},
|
},
|
||||||
pickers = {
|
pickers = {
|
||||||
find_command = {
|
find_command = {
|
||||||
"${pkgs.fd}/bin/fd",
|
"${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