return { { "telescope.nvim", cmd = "Telescope", keys = { { "f", "Telescope find_files", desc = "Find Files" }, { "F", "Telescope live_grep theme=ivy", desc = "Grep" }, { "gl", "Telescope git_commits", desc = "Git log" }, { "gh", "Telescope git_bcommits", desc = "Git history" }, { "gB", "Telescope git_branches", desc = "Git branches" }, { "gs", "Telescope git_status", desc = "Git status" }, { "gc", "Telescope git_show", desc = "Show last commit" }, { "zh", "Telescope help_tags", desc = "Read help" }, }, after = function() local actions = require("telescope.actions") local telescope = require("telescope") telescope.setup({ defaults = { prompt_prefix = " ", selection_caret = " ", sorting_strategy = "ascending", layout_config = { horizontal = { prompt_position = "top", } }, mappings = { i = { [""] = actions.close, [""] = actions.close, }, } }, pickers = { find_files = { hidden = true, -- remove .git directory find_command = { "fd", "--type", "f", "--strip-cwd-prefix", "-E", ".git" }, }, }, }) telescope.load_extension("fzf") end }, }