feat(nvim): add telescope global word search

This commit is contained in:
Price Hiller 2024-06-12 07:32:51 -05:00
parent 61ca096221
commit c0e494bdf2
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -19,6 +19,19 @@ return {
{ "<leader>t", desc = "> Telescope" },
{ "<leader>tg", desc = "> Telescope: Git" },
{ "<leader>tw", ":Telescope live_grep<CR>", desc = "Telescope: Grep for Word", silent = true },
{
"<leader>tW",
function()
require("telescope.builtin").live_grep({
additional_args = {
"--hidden",
"--no-ignore",
},
})
end,
desc = "Telescope: Grep for Word Everywhere",
silent = true,
},
{ "<leader>tgs", ":Telescope git_status<CR>", desc = "Telescope: Git Status", silent = true },
{ "<leader>tgc", ":Telescope git_commits<CR>", desc = "Telescope: Git Commits", silent = true },
{ "<leader>tgb", ":Telescope git_branches<CR>", desc = "Telescope: Git Branches", silent = true },