local actions = require "telescope.actions" local telescope = require "telescope" telescope.setup { defaults = { prompt_prefix = " ", selection_caret = " ", layout_config = { prompt_position = "top", horizontal = { mirror = false }, vertical = { mirror = false }, }, file_ignore_patterns = { "node_modules", "__pycache__", "target", "vendor", ".git", ".bin", }, mappings = { i = { [""] = "close", [""] = "move_selection_next", [""] = "move_selection_previous", [""] = "delete_buffer", }, n = { [""] = "move_selection_next", [""] = "move_selection_previous", [""] = "delete_buffer", }, }, }, extensions = { ["ui-select"] = { require("telescope.themes").get_ivy {}, }, }, pickers = { find_files = { theme = "ivy" }, live_grep = { theme = "ivy", only_sort_text = true }, buffers = { theme = "ivy" }, oldfiles = { theme = "ivy" }, keymaps = { theme = "ivy" }, git_branches = { theme = "ivy" }, git_commits = { theme = "ivy" }, git_status = { theme = "ivy" }, lsp_definitions = { theme = "ivy" }, lsp_references = { theme = "ivy" }, lsp_implementations = { theme = "ivy" }, lsp_document_symbols = { theme = "ivy" }, }, } telescope.load_extension "ui-select" telescope.load_extension "projects"