refactor(nvim): update Telescope preview settings
This commit is contained in:
parent
76d72543e5
commit
3416b68871
|
@ -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,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Reference in a new issue