return { "nvim-telescope/telescope.nvim", dependencies = { "nvim-lua/plenary.nvim", "nvim-telescope/telescope-fzf-native.nvim", }, config = function() require("telescope").setup({ }) require("telescope").load_extension("fzf") require("utils").add_keymaps({ n = { -- File search ["to"] = { cmd = ":Telescope find_files ", }, ["tf"] = { cmd = ":Telescope current_buffer_fuzzy_find", }, ["ta"] = { cmd = ":Telescope live_grep find_command=rg,--ignore-file,.gitignore,--exclude,*.git,--exclude,*.svn,--exclude,*.vs,--exclude,*.idea", }, -- Git ["gc"] = { cmd = " Telescope git_commits ", }, ["gs"] = { cmd = " Telescope git_status ", }, ["gh"] = { cmd = " Telescope git_bcommits ", }, ["gb"] = { cmd = " Telescope git_branches ", }, -- Misc ["tb"] = { cmd = " Telescope marks ", } } }) end, }