rg: add config file
This commit is contained in:
parent
fa4426d193
commit
1a207b0c7a
1 changed files with 21 additions and 0 deletions
21
dotfiles/.ripgreprc
Normal file
21
dotfiles/.ripgreprc
Normal 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
|
Loading…
Reference in a new issue