diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index b9348d4..5f05322 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -4,7 +4,23 @@ return { 'nvim-lua/plenary.nvim', }, config = function() - require('telescope').setup({}) + local telescope = require('telescope') + telescope.setup({ + defaults = { + mappings = { + i = { + [''] = 'select_horizontal', + [''] = 'preview_scrolling_left', + [''] = 'preview_scrolling_right', + }, + n = { + [''] = 'select_horizontal', + [''] = 'preview_scrolling_left', + [''] = 'preview_scrolling_right', + } + }, + }, + }) -- TODO: Add more mappings? local opts = { noremap = true }