summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--dot_config/ripgrep37
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