-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathripgreprc
24 lines (19 loc) · 872 Bytes
/
ripgreprc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Ripgrep (rg) config file
# Don't let limit number of columns output by ripgrep as I may want to pipe the
# full lines to another command. Currently, ripgrep doesn't provide a way to
# only limit line length when output is going to an interactive terminal.
# So I don't use these settings and live with the occasional long line.
#--max-columns=80
#--max-columns-preview
# Search hidden files by default. This is useful because we typically do want to
# search dotfiles and directories like .github
--hidden
# A special case is the .git directory. We rarely want to search it. If we do
# want to search it with this setting in place we can just cd inside .git and
# repeat the search.
# https://github.com/BurntSushi/ripgrep/discussions/1578
--glob=!.git/
# Ignore certain directories
--ignore-file=$HOME/.ripgrep-ignore
# Because who cares about case!?
--smart-case