From 56d9cf7be0dbd7c7ac30a9c3280e7550b322b7ab Mon Sep 17 00:00:00 2001 From: Jonas Ryssel Date: Sat, 27 Aug 2022 12:39:27 +0200 Subject: [PATCH] Initial commit and ripgreprc config --- .ripgreprc | 27 +++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 28 insertions(+) create mode 100644 .ripgreprc create mode 100644 README.md 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