rg: add config file

This commit is contained in:
Vladan Popovic 2024-10-07 11:49:10 +02:00
parent fa4426d193
commit 1a207b0c7a

21
dotfiles/.ripgreprc Normal file
View file

@ -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