From 1a207b0c7a6a38d7de925920a298ec6759867f65 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Mon, 7 Oct 2024 11:49:10 +0200 Subject: [PATCH] rg: add config file --- dotfiles/.ripgreprc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dotfiles/.ripgreprc diff --git a/dotfiles/.ripgreprc b/dotfiles/.ripgreprc new file mode 100644 index 0000000..6516a24 --- /dev/null +++ b/dotfiles/.ripgreprc @@ -0,0 +1,21 @@ +# Don't let ripgrep vomit really long lines to my terminal, and show a preview. +--max-columns=150 +--max-columns-preview + +# Add my 'web' type. +--type-add +web:*.{html,css,js}* + +# Search hidden files / directories (e.g. dotfiles) by default +--hidden + +# Using glob patterns to include/exclude files or folders +--glob +!.git/* + +# Set the colors. +--colors=line:none +--colors=line:style:bold + +# Because who cares about case!? +--smart-case