try different telescope layout
This commit is contained in:
parent
1b268b2e77
commit
e70253835c
1 changed files with 14 additions and 0 deletions
|
@ -4,6 +4,16 @@ local builtin = require('telescope.builtin')
|
|||
|
||||
telescope.setup {
|
||||
defaults = {
|
||||
layout_strategy = "vertical",
|
||||
layout_config = {
|
||||
vertical = {
|
||||
prompt_position = "top",
|
||||
},
|
||||
horizontal = {
|
||||
prompt_position = "bottom",
|
||||
},
|
||||
},
|
||||
sorting_strategy = "ascending",
|
||||
live_grep_arguments = { 'rg',
|
||||
'--hidden', '--no-ignore', '--color=never',
|
||||
'--with-filename', '--line-number',
|
||||
|
@ -12,10 +22,14 @@ telescope.setup {
|
|||
},
|
||||
pickers = {
|
||||
live_grep = {
|
||||
layout_strategy = "horizontal",
|
||||
mappings = {
|
||||
i = { ["<c-f>"] = actions.to_fuzzy_refine },
|
||||
},
|
||||
},
|
||||
find_files = {
|
||||
previewer = false,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue