commit 56d9cf7be0dbd7c7ac30a9c3280e7550b322b7ab Author: Jonas Ryssel Date: Sat Aug 27 12:39:27 2022 +0200 Initial commit and ripgreprc config diff --git a/.ripgreprc b/.ripgreprc new file mode 100644 index 0000000..2e9fa41 --- /dev/null +++ b/.ripgreprc @@ -0,0 +1,27 @@ +--smart-case +# ripgrep uses PCRE2 syntax, but its rust implementation doesn't support look-around and backreferences +# Automatically switch engine if either of those is used +--auto-hybrid-regex + +# Don't let ripgrep vomit really long lines to my terminal, and show a preview. +--max-columns=150 +--max-columns-preview + +# Colouring +--colors=match:none +--colors=match:bg:yellow +--colors=match:fg:black + +--colors=path:none +--colors=path:fg:green +--colors=path:style:bold + +--colors=line:none +--colors=line:fg:yellow +--colors=line:style:bold + +# Ignore spam files +--type-add=spam:*.bundle.js.map +--type-add=spam:*.bundle.js +--type-not=spam + diff --git a/README.md b/README.md new file mode 100644 index 0000000..8e58232 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +ripgreprc