dotfiles-nvim/lua/plugins/telescope.lua

25 lines
777 B
Lua
Raw Normal View History

2023-12-18 09:11:00 +01:00
return {
"nvim-telescope/telescope.nvim",
branch = "0.1.x",
dependencies = {
"BurntSushi/ripgrep",
"nvim-lua/plenary.nvim",
"sharkdp/fd",
"nvim-treesitter/nvim-treesitter",
"nvim-tree/nvim-web-devicons",
},
2023-12-20 14:45:40 +01:00
lazy = false,
2023-12-18 09:11:00 +01:00
keys = {
{ "<C-t>f", "<cmd>Telescope find_files<cr>", desc = "Fuzzy find files with Telescope" },
{ "<C-p>", "<cmd>Telescope find_files<cr>", desc = "Fuzzy find files with Telescope" },
{ "<C-t>b", "<cmd>Telescope buffers<cr>", desc = "Fuzzy find open buffers with Telescope" },
2024-01-07 18:19:07 +01:00
},
opts = {
pickers = {
find_files = {
2024-01-15 02:09:49 +01:00
find_command = { "rg", "--files", "--hidden", "--no-ignore-vcs" },
},
},
},
2023-12-18 09:11:00 +01:00
}