refactor(nvim): update Telescope preview settings
This commit is contained in:
parent
5602094891
commit
ed0e7cf0a8
1 changed files with 6 additions and 4 deletions
|
@ -38,13 +38,15 @@ telescope.setup {
|
||||||
prompt_position = 'top',
|
prompt_position = 'top',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
preview = {
|
||||||
|
hide_on_startup = true,
|
||||||
|
},
|
||||||
|
|
||||||
mappings = {
|
mappings = {
|
||||||
i = {
|
i = {
|
||||||
["<C-h>"] = actions.which_key,
|
["<C-h>"] = actions.which_key,
|
||||||
["<C-p>"] = action_layout.toggle_preview,
|
["<M-p>"] = action_layout.toggle_preview,
|
||||||
},
|
["<M-m>"] = action_layout.toggle_mirror,
|
||||||
n = {
|
|
||||||
["<C-p>"] = action_layout.toggle_preview,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue