Skip to content

Commit 26c290a

Browse files
community: telescope live grep args search via file name pattern
Resolve: #10
1 parent de331da commit 26c290a

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
- community: example disable of plugins from an astro community pack
5656
- practicalli: which-key vertical `helix` menu layout option
5757
- practicalli: conjure sub-menus for which-key
58+
- community: telescope live grep args search via file name pattern
5859

5960
## Changed
6061
- readme: expand on description and use

lua/community.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ return {
8383
-- Utility
8484
-- rich command prompt
8585
{ import = "astrocommunity.utility.noice-nvim" },
86+
87+
-- word search in specific file patterns
88+
{ import = "astrocommunity.utility.telescope-live-grep-args-nvim" },
8689
-- ----------------------------------------------
8790

8891
-- ----------------------------------------------

lua/plugins/user-practicalli.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,11 @@ return {
237237
-- Find Menu
238238
-- browse via directory structure, create and modify paths
239239
["<Leader>fe"] = { "<cmd>Telescope file_browser<cr>", desc = "Explorer" },
240+
-- find word for specific file patterns
241+
["<Leader>fg"] = {
242+
"<cmd>lua require('telescope').extensions.live_grep_args.live_grep_args()<cr>",
243+
desc = "Grep Word",
244+
},
240245

241246
-- Projects
242247
["<Leader>fp"] = { "<cmd>Telescope projects<cr>", desc = "Projects" },

0 commit comments

Comments
 (0)