vim/telescope: reformat
This commit is contained in:
parent
1e372c559b
commit
2e4ffba0de
1 changed files with 11 additions and 38 deletions
|
@ -19,54 +19,27 @@ local config = function()
|
|||
telescope.setup {
|
||||
defaults = {
|
||||
prompt_prefix = ' ❯ ',
|
||||
selection_caret = ' ', -- Other ideas: ➔
|
||||
selection_caret = ' ', -- Other ideas: ➔
|
||||
multi_icon = ' ',
|
||||
scroll_strategy = 'limit', -- Don't wrap around in results.
|
||||
|
||||
scroll_strategy = 'limit',
|
||||
layout_strategy = 'flex',
|
||||
|
||||
layout_config = {
|
||||
anchor = 'center',
|
||||
width = 0.9,
|
||||
height = 0.9,
|
||||
|
||||
flex = {
|
||||
flip_columns = 130,
|
||||
},
|
||||
|
||||
horizontal = {
|
||||
preview_width = 0.5,
|
||||
preview_cutoff = 130,
|
||||
},
|
||||
|
||||
vertical = {
|
||||
preview_height = 0.5,
|
||||
},
|
||||
anchor = 'center',
|
||||
width = 0.9,
|
||||
height = 0.9,
|
||||
flex = { flip_columns = 130 },
|
||||
horizontal = { preview_width = 0.5, preview_cutoff = 130 },
|
||||
vertical = { preview_height = 0.5 },
|
||||
},
|
||||
|
||||
cycle_layout_list = {
|
||||
'horizontal',
|
||||
'vertical',
|
||||
},
|
||||
cycle_layout_list = { 'horizontal', 'vertical' },
|
||||
|
||||
mappings = {
|
||||
i = mappings,
|
||||
n = mappings,
|
||||
},
|
||||
mappings = { i = mappings, n = mappings },
|
||||
},
|
||||
|
||||
extensions = {
|
||||
file_browser = {
|
||||
theme = 'ivy',
|
||||
mappings = {
|
||||
n = {
|
||||
-- normal mode mappings go here
|
||||
},
|
||||
i = {
|
||||
-- insert mode mappings go here
|
||||
},
|
||||
},
|
||||
},
|
||||
file_browser = { theme = 'ivy' },
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue