From ac29896cdeef7093f7d1ee7f827a3bd104f1f0bd Mon Sep 17 00:00:00 2001 From: Alen Date: Tue, 12 Sep 2023 00:04:57 +0400 Subject: Add ripgrep config --- dot_config/ripgrep | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 dot_config/ripgrep diff --git a/dot_config/ripgrep b/dot_config/ripgrep new file mode 100644 index 0000000..134efbf --- /dev/null +++ b/dot_config/ripgrep @@ -0,0 +1,37 @@ +# Searches case insensitively if the pattern is all lowercase. +--smart-case + +# Use full regex intelligently +# TODO: Do not add this line if we have an old version of rg +--engine=auto + +# Search compressed files. +--search-zip + +# Skip OS things +--glob=!**/.snapshots/ + +# Skip basic Python stuff +--glob=!**/venv/ +--glob=!**/__pychache__/ + +# Skip basic node stuff +--glob=!**/node_modules/ + +# Skip macOS system-y folders +--glob=!**/Applications*/ +--glob=!**/Library/ +--glob=!**/Parallels/ + +# Colours +--colors=path:none +--colors=path:fg:green +--colors=path:style:intense +--colors=path:style:bold +--colors=line:none +--colors=line:fg:yellow +--colors=line:style:intense +--colors=line:style:bold +--colors=match:none +--colors=match:fg:black +--colors=match:bg:yellow -- cgit 1.4.1-2-gfad0