Skip to content

Commit

Permalink
community: telescope live grep args search via file name pattern
Browse files Browse the repository at this point in the history
Resolve: #10
  • Loading branch information
practicalli-johnny committed Jul 26, 2024
1 parent de331da commit 26c290a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
- community: example disable of plugins from an astro community pack
- practicalli: which-key vertical `helix` menu layout option
- practicalli: conjure sub-menus for which-key
- community: telescope live grep args search via file name pattern

## Changed
- readme: expand on description and use
Expand Down
3 changes: 3 additions & 0 deletions lua/community.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ return {
-- Utility
-- rich command prompt
{ import = "astrocommunity.utility.noice-nvim" },

-- word search in specific file patterns
{ import = "astrocommunity.utility.telescope-live-grep-args-nvim" },
-- ----------------------------------------------

-- ----------------------------------------------
Expand Down
5 changes: 5 additions & 0 deletions lua/plugins/user-practicalli.lua
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@ return {
-- Find Menu
-- browse via directory structure, create and modify paths
["<Leader>fe"] = { "<cmd>Telescope file_browser<cr>", desc = "Explorer" },
-- find word for specific file patterns
["<Leader>fg"] = {
"<cmd>lua require('telescope').extensions.live_grep_args.live_grep_args()<cr>",
desc = "Grep Word",
},

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

0 comments on commit 26c290a

Please sign in to comment.