-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ripgreprc
22 lines (18 loc) · 694 Bytes
/
.ripgreprc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Don't let ripgrep print really long lines to my terminal, and show a preview.
--max-columns=150
--max-columns-preview
# Search hidden files / directories (e.g. dotfiles) by default
--hidden
# Using glob patterns to include/exclude files or folders
--glob=!.git/*
# Set the colors. How do I make the output look like The Silver Searcher's output?
# https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#how-do-i-make-the-output-look-like-the-silver-searchers-output
--colors=line:fg:yellow
--colors=line:style:bold
--colors=path:fg:green
--colors=path:style:bold
--colors=match:fg:black
--colors=match:bg:yellow
--colors=match:style:nobold
# Because who cares about case!?
--smart-case