-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_ripgreprc
More file actions
38 lines (30 loc) · 736 Bytes
/
dot_ripgreprc
File metadata and controls
38 lines (30 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Ripgrep configuration file
# Location: ~/.ripgreprc
# Add custom file types
--type-add=svelte:*.svelte
# Always use colors
--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
# Show line numbers
--line-number
# Case insensitive search unless uppercase letters are used
--smart-case
# Follow symbolic links
--follow
# Don't search in certain directories
--glob=!.git/*
--glob=!node_modules/*
--glob=!.svelte-kit/*
--glob=!build/*
--glob=!dist/*
--glob=!.next/*
--glob=!coverage/*
# Max columns to prevent very long lines from slowing down search
--max-columns=150
# Show context around matches
--context=2