refactor(nvim): update Telescope preview settings

This commit is contained in:
Oliver Davies 2023-06-23 10:11:33 +01:00
parent 76d72543e5
commit 3416b68871

View file

@ -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,
}, },
}, },