-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.rgrc
49 lines (39 loc) · 1.22 KB
/
.rgrc
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
# vim:ft=conf
# global ignores are in ~/.ignore so it can be picked up by fd & other tools too
# Grep hidden files
--hidden
# Exclude directories (Ignore patterns)
--glob=!{.git,.svn,.tldr,node_modules,Trash,vendor,dist,.next,log,vscode,idea,.cache}
--glob=!vim/pack/*
--glob=!wp/*
--glob=!wp-content/{uploads,plugins,upgrade,cache,wflogs,w3tc-config}/*
--glob=!wp-{admin,includes}/*
# Exclude file types.
--glob=!*.{map,direnv,envrc,pyc,png,jpg,jpeg,mp4,mkv,obj,ttf,sketch,zip,sql,min.js,DS_Store,un~,zwc,old,zwc.old,sw,local}
--glob=!*.{lock}
--glob=!*.{log}
--glob=!*.{elc}
--glob=!*.{spl}
# Exclude files.
--glob=!{package-lock.json,Session.vim}
# Case-insensitive search when pattern is lowercase
--smart-case
# Sort by file path.
--sort=path
# Trim whitespace
--trim
# Don't print lines longer than this limit, and don't show preview.
--max-columns=10000
--no-max-columns-preview
# Add web type
--type-add=web:*.{html,css,scss,ts,tsx,js,jsx}*
# Add test type
--type-add=test:*_test.*
--type-add=test:*.test.*
# Configure color settings and styles.
--colors=path:bg:0x3b,0x3b,0x3b
--colors=path:fg:white
--colors=line:fg:0xf2,0xc2,0x60
--colors=match:bg:0x2b,0x83,0xa6
--colors=match:fg:0xff,0xff,0xff
--colors=match:style:nobold