return { "nvim-telescope/telescope.nvim", tag = "0.1.5", dependencies = { "nvim-lua/plenary.nvim", }, config = function() require("telescope").setup({ defaults = { layout_strategy = "vertical" }, }) local builtin = require("telescope.builtin") vim.keymap.set("n", "pf", builtin.find_files, {}) vim.keymap.set("n", "", builtin.git_files, {}) vim.keymap.set("n", "pws", function() local word = vim.fn.expand("") builtin.grep_string({ search = word }) end) vim.keymap.set("n", "pWs", function() local word = vim.fn.expand("") builtin.grep_string({ search = word }) end) vim.keymap.set("n", "ps", function() builtin.grep_string({ search = vim.fn.input("Grep > ") }) end) vim.keymap.set("n", "vh", builtin.help_tags, {}) end, }