neovim-config/lua/plugins/telescope.lua
Tyler Hallada d23c57c5d0 Switch to new lazy-based config
Still a bit WIP. Gradually adding back old plugins and config from old config.
2023-11-27 01:31:45 -05:00

31 lines
691 B
Lua

return {
"telescope.nvim",
dependencies = {
{
"debugloop/telescope-undo.nvim",
keys = { { "<leader>U", "<cmd>Telescope undo<cr>" } },
config = function()
require("telescope").load_extension("undo")
end,
},
{
"xiyaowong/telescope-emoji.nvim",
keys = { { "<leader>fj", "<cmd>Telescope emoji<cr>" } },
config = function()
require("telescope").load_extension("undo")
end,
},
},
keys = {
{
"<leader>fp",
function()
require("telescope.builtin").find_files({
cwd = require("lazy.core.config").options.root,
})
end,
desc = "Find Plugin File",
},
},
}