Created
April 2, 2023 11:33
-
-
Save radu-matei/68ec5f57d96bc36035effe431f5e99c3 to your computer and use it in GitHub Desktop.
Random config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('telescope').setup { | |
defaults = { | |
selection_caret = "» ", | |
initial_mode = "insert", | |
selection_strategy = "reset", | |
sorting_strategy = "ascending", | |
layout_strategy = "horizontal", | |
layout_config = { | |
horizontal = { | |
prompt_position = "top", | |
preview_width = 0.70, | |
results_width = 0.70, | |
}, | |
vertical = { | |
mirror = false, | |
}, | |
width = 0.87, | |
height = 0.80, | |
preview_cutoff = 120, | |
}, | |
file_sorter = require("telescope.sorters").get_fuzzy_file, | |
file_ignore_patterns = { "node_modules" }, | |
generic_sorter = require("telescope.sorters").get_generic_fuzzy_sorter, | |
path_display = { "truncate" }, | |
borderchars = { | |
prompt = { "─", " ", " ", " ", "─", "─", " ", " " }, | |
results = { " " }, | |
preview = { " " }, | |
}, | |
mappings = { | |
i = { | |
['<C-u>'] = false, | |
['<C-d>'] = false, | |
}, | |
}, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment