ripgreprc/.ripgreprc
Jonas Ryssel 6a04c6ebc8 Search hidden folders
Exclude Node directories on GNU
2022-10-12 16:25:04 +02:00

33 lines
737 B
Plaintext

--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
# Also search hidden folders
--hidden
# 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
# Skip external packages on gnu
--glob=!externals/node_modules/**