Add better insertion mode defaults for telescope.
parent
8f25bede11
commit
0918049082
|
@ -15,6 +15,16 @@ end
|
||||||
|
|
||||||
function M.setup()
|
function M.setup()
|
||||||
require('telescope').setup {
|
require('telescope').setup {
|
||||||
|
defaults = {
|
||||||
|
mappings = {
|
||||||
|
i = {
|
||||||
|
['<c-s>'] = 'select_horizontal',
|
||||||
|
['<c-t>'] = 'select_tab',
|
||||||
|
['<c-v>'] = 'select_vertical',
|
||||||
|
['<esc>'] = 'close',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
pickers = {
|
pickers = {
|
||||||
buffers = { theme = 'ivy' },
|
buffers = { theme = 'ivy' },
|
||||||
find_files = { theme = 'ivy' },
|
find_files = { theme = 'ivy' },
|
||||||
|
|
Loading…
Reference in New Issue