dotfiles/config.common/ripgreprc

29 lines
644 B
Plaintext

# Don't let ripgrep vomit really long lines to my terminal, and show a preview.
--max-columns=250
--max-columns-preview
# Using glob patterns to include/exclude files or folders
# --glob=!git/*
# Exclude directories.
--glob=!{.git,.svn,node_modules,tealdeer,Trash,vendor,site-packages}
# Exclude file types.
--glob=!*.{lock}
--glob=!dist/*
--glob=!build*
--glob=!.cache/*
# Exclude files.
--glob=!{package-lock.json}
--glob=!log/*
# # or
# --glob
# '!{**/node_modules/*,**/.git/*}'
# --glob
# '!{.git,**/vendor/*,**/node_modules/*}'
# Set the colors.
--colors=line:none
--colors=line:style:bold
# Because who cares about case!?
--smart-case