Initial commit and ripgreprc config

This commit is contained in:
Jonas Ryssel 2022-08-27 12:39:27 +02:00
commit 56d9cf7be0
2 changed files with 28 additions and 0 deletions

27
.ripgreprc Normal file
View File

@ -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

1
README.md Normal file
View File

@ -0,0 +1 @@
ripgreprc