From 0748f72be90dba632428fa39bb7596b03f89c649 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 14 Nov 2021 11:12:32 -0500 Subject: [PATCH] Add ripgrep config Now it's possible to use ripgrep without worrying about files with really long lines taking up the entire screen. --- ripgrep/.config/ripgrep/config | 2 ++ ripgrep/README.md | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 ripgrep/.config/ripgrep/config create mode 100644 ripgrep/README.md diff --git a/ripgrep/.config/ripgrep/config b/ripgrep/.config/ripgrep/config new file mode 100644 index 00000000..bc5844a7 --- /dev/null +++ b/ripgrep/.config/ripgrep/config @@ -0,0 +1,2 @@ +# Don't show results for very long lines (e.g. minified files) +--max-columns=200 diff --git a/ripgrep/README.md b/ripgrep/README.md new file mode 100644 index 00000000..757781dd --- /dev/null +++ b/ripgrep/README.md @@ -0,0 +1,15 @@ +# ripgrep + +[ripgrep][ripgrep] is a modern version of grep. + +## Use Cases + +ripgrep can be used to: + +- Search for strings in projects + +You should not use ripgrep if: + +- You should use ripgrep. + +[ripgrep]: https://github.com/BurntSushi/ripgrep