diff --git a/modules/utility/telescope/config.nix b/modules/utility/telescope/config.nix index c56d91e..135637c 100644 --- a/modules/utility/telescope/config.nix +++ b/modules/utility/telescope/config.nix @@ -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 = {}, } ${