local telescope = require('telescope') local actions = require("telescope.actions") telescope.setup { defaults = { layout_strategy = "horizontal", path_display = { "filename_first" }, mappings = { i = { [""] = actions.close, }, }, }, pickers = { find_files = { previewer = false, layout_strategy = "center", layout_config = { height = 0.7, width = 0.5 }, }, live_grep = { only_sort_text = true, previewer = true, } }, extensions = { ["ui-select"] = { require("telescope.themes").get_cursor {} } } } telescope.load_extension('fzf') telescope.load_extension("ui-select") --local builtin = require('telescope.builtin') --vim.keymap.set('n', 'ff', builtin.find_files, {}) --vim.keymap.set('n', 'fe', builtin.diagnostics, {}) --vim.keymap.set('n', 'fg', builtin.live_grep, {}) --vim.keymap.set('n', 'fb', builtin.buffers, {}) --vim.keymap.set('n', 'fs', builtin.treesitter, {}) --vim.keymap.set('n', 'fh', builtin.help_tags, {})