diff options
author | Alen <alen@dotfiles.xyz> | 2023-09-12 00:04:57 +0400 |
---|---|---|
committer | Alen <alen@dotfiles.xyz> | 2023-09-12 00:04:57 +0400 |
commit | ac29896cdeef7093f7d1ee7f827a3bd104f1f0bd (patch) | |
tree | 55a4aced765ad58504a19f1ff92a708f1255071f /dot_config/ripgrep | |
parent | 69a73dfa4fee36f4a8959bc34ed19cdc49df66b5 (diff) |
Add ripgrep config
Diffstat (limited to 'dot_config/ripgrep')
-rw-r--r-- | dot_config/ripgrep | 37 |
1 files changed, 37 insertions, 0 deletions
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 |