-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.ripgreprc
50 lines (44 loc) · 1.62 KB
/
.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# General ack Settings
####################################################################
# search in hidden files but hide .git/ contents
--hidden
--glob=!.git/
# sort files
--sort-files
# only search with case sensitivity if there is mixed case
--smart-case
# do not follow symlinks
--follow
# pretty for less pager
--pretty
# Ack Type Settings
####################################################################
--type-add
text:*.{md,mdown,markdown,mkdn,textile,rst,txt}*
--type-add
csv:*.{txt,csv,tsv}*
# Colors
####################################################################
# Adjust the color styles for match the "Nord" theme.
# Note that the "Nord" color palettes must be provided through the terminal.
# Due to the format of this configuration file it is currently not possible to use shell syntax like
# environment variables in order to dynamically pass color values.
# See:
# 1. https://www.nordtheme.com
# 2. https://github.com/BurntSushi/ripgrep/issues/1548
# Use `nord9` with an underlined font style for the column number of the matched line.
# It will be displayed next to the line number separated by a colon when the `--column` flag has been set.
--colors=column:none
--colors=column:fg:4
--colors=column:style:underline
# Use `nord9` for the line number of the search pattern match.
--colors=line:none
--colors=line:fg:green
# Use `nord1` as background and `nord8` as foreground color for the search pattern match.
--colors=match:none
--colors=match:bg:6
--colors=match:fg:0
# Use `nord7` with an bold font style for the file path of the search pattern match.
--colors=path:none
--colors=path:fg:14
--colors=path:style:bold