From c0e494bdf2eb620a4b4c0617fcfda35b83cc1c98 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 12 Jun 2024 07:32:51 -0500 Subject: [PATCH] feat(nvim): add telescope global word search --- .../.config/nvim/lua/plugins/configs/telescope.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/telescope.lua b/users/price/dots/.config/nvim/lua/plugins/configs/telescope.lua index 05c21f30..5ca26384 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/telescope.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/telescope.lua @@ -19,6 +19,19 @@ return { { "t", desc = "> Telescope" }, { "tg", desc = "> Telescope: Git" }, { "tw", ":Telescope live_grep", desc = "Telescope: Grep for Word", silent = true }, + { + "tW", + function() + require("telescope.builtin").live_grep({ + additional_args = { + "--hidden", + "--no-ignore", + }, + }) + end, + desc = "Telescope: Grep for Word Everywhere", + silent = true, + }, { "tgs", ":Telescope git_status", desc = "Telescope: Git Status", silent = true }, { "tgc", ":Telescope git_commits", desc = "Telescope: Git Commits", silent = true }, { "tgb", ":Telescope git_branches", desc = "Telescope: Git Branches", silent = true },