return { "nvim-telescope/telescope.nvim", event = "VeryLazy", dependencies = { "nvim-lua/plenary.nvim", { "nvim-telescope/telescope-fzf-native.nvim", build = "make", }, }, keys = { { "ff", "Telescope find_files", desc = "Find files", }, { "fg", "Telescope live_grep", desc = "Live grep", }, { "fb", "Telescope current_buffer_fuzzy_find", desc = "Find in current buffer", }, { "", "Telescope buffers", desc = "Find buffers", }, { "gc", "Telescope git_commits", desc = "Git commits", }, { "gs", "Telescope git_status", desc = "Git status", }, { "ch", "Telescope commands_history", desc = "Commands history", }, { "e", "Telescope diagnostics", desc = "Diagnostics", }, { "gi", "Telescope lsp_implementations", desc = "LSP implementations", }, { "gr", "Telescope lsp_references", desc = "LSP references", }, }, config = function() local actions = require("telescope.actions") require("telescope").setup({ extensions = { project = { sync_with_nvim_tree = true, }, }, pickers = { buffers = { initial_mode = "normal", }, }, defaults = { file_ignore_patterns = { "vendor", "node_modules" }, mappings = { i = { [""] = actions.close, }, n = { [""] = actions.close, }, }, }, }) require("telescope").load_extension("fzf") end, }