Skip to content

Commit

Permalink
add: Tips to README with common rg flags (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunzaatko authored Dec 3, 2021
1 parent 8582ad1 commit 5cfabf1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doc/cmp-rg.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,14 @@ additional_arguments *cmp-rg-additional_arguments*
Example: >
{ name = 'rg', option = { additional_arguments = "--ignore-case" } }
<
Search in hidden files (starting with a `.`): >
{ name = 'rg', option = { additional_arguments = "--hidden" } }
<

Reduce the level of recursion into directories: >
{ name = 'rg', option = { additional_arguments = "--max-depth 4" } }
<

------------------------------------------------------------------------------
cwd *cmp-rg-cwd*
Expand Down

0 comments on commit 5cfabf1

Please sign in to comment.