/
.ripgreprc
80 lines (61 loc) · 2.66 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# ================================================================================================================================
#
# Ripgrep
#
# Update: 2023.01.09
#
# ================================================================================================================================
# 搜索隐藏文件
--hidden
# 跟踪软连接
--follow
# 不要忽略任何文件
--no-ignore
# 不要显示超过10000的行
--max-columns=500
# 多行预览
--max-columns-preview
# 开启智能搜索,不区分大小写
--smart-case
# 按照文件路径排序
--sort=path
# 匹配上下文分割线
# --field-context-separator=\t│\t
# 已匹配的分割线
# --field-match-separator=\t│\t
# 只搜索一个操作系统
--one-file-system
# 禁用错误信息
--no-messages
# 跨行搜索
--multiline
# ================================================================================================================================
# IGNORE - SETTINGS
# ================================================================================================================================
# 排除目录
--glob=!.git
--glob=!.github
--glob=!.svn
--glob=!node_modules
--glob=!vendor
--glob=!logseq
--glob=!workflows
# 排除文件类型
--glob=!*.{lock}
--glob=!*.ctags
# 排除文件
--glob=!{package-lock.json}
--glob=!.bash_history
--glob=!.vimwiki_tags
--glob=!.gitignore
# ================================================================================================================================
# THEMES - SETTINGS
# ================================================================================================================================
# 配置颜色设定
--colors=path:bg:0
--colors=path:fg:5
--colors=line:fg:4
--colors=match:bg:0
--colors=match:fg:1
--colors=match:style:bold
# vim:ts=4:shiftwidth=4:syntax=sh