chore(telescope): add no_ignore = true option to find_files

This commit is contained in:
Simon Lasbrugnas 2024-08-16 13:45:56 +02:00
parent 754eef18b9
commit 16508476d0
Signed by untrusted user who does not match committer: simon
GPG key ID: 86039876BA6ED8DE

View file

@ -28,7 +28,11 @@ return {
end, end,
keys = { keys = {
{ "<C-p>", "<cmd>Telescope find_files<CR>", desc = "Find files" }, { "<C-p>", "<cmd>Telescope find_files<CR>", desc = "Find files" },
{ "<leader>p", "<cmd>Telescope live_grep<CR>", desc = "Live Grep" }, {
"<leader>p",
function() require("telescope.builtin").live_grep({ no_ignore = true }) end,
desc = "Live Grep"
},
-- Search almost everything (except .git folder) -- Search almost everything (except .git folder)
{ {
"<leader>fa", "<leader>fa",