return { lazy = true, 'nvim-telescope/telescope.nvim', tag = '0.1.4', dependencies = { 'nvim-lua/plenary.nvim' }, config = function() local actions = require("telescope.actions") local keymap = vim.api.nvim_set_keymap require('telescope').setup({ extensions = { media = { backend = "ueberzug", backend_options = { xmove = -1, ymove = -2, warnings = true, supress_backend_warning = false }, } }, defaults = { prompt_prefix = "λ ", selection_caret = "-> ", mappings = { i = { [""] = actions.which_key, [""] = actions.move_selection_next, [""] = actions.move_selection_previous, } } }, pickers = { buffers = { sort_lastused = true, previewer = false, layout_config = { width = 0.3, height = 0.4, }, }, planets = { show_pluto = true, }, }, extensions = {} }) keymap('n', '', ':Telescope find_files', {}) keymap('n', 'm', ':Telescope media', {}) keymap('n', 'b', ':Telescope buffers', {}) keymap('n', 't', ':Telescope', {}) keymap('n', 'g', ':Telescope live_grep', {}) end, }