Add better insertion mode defaults for telescope.

main
Joshua Potter 2023-11-24 08:35:19 -07:00
parent 8f25bede11
commit 0918049082
1 changed files with 10 additions and 0 deletions

View File

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