File tree Expand file tree Collapse file tree 12 files changed +90
-0
lines changed Expand file tree Collapse file tree 12 files changed +90
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ let g: EasyGrepMode= 0
3
+ GrepRoot hidden
4
+
5
+ " no hidden files
6
+ let g: EasyGrepHidden= 0
7
+ ResultListTag GrepAdd c g: EasyGrepHidden= 0
8
+ GrepAdd c
9
+ ResultListTag GrepAdd C g: EasyGrepHidden= 0
10
+ GrepAdd C
11
+
12
+ " hidden files
13
+ let g: EasyGrepHidden= 1
14
+ ResultListTag GrepAdd c g: EasyGrepHidden= 1
15
+ GrepAdd c
16
+ ResultListTag GrepAdd C g: EasyGrepHidden= 1
17
+ GrepAdd C
18
+
19
+ cclose
20
+ exe " ResultListSave " .testname." .out"
21
+ quit !
22
+
23
+
Original file line number Diff line number Diff line change
1
+ |1 col 1| GrepAdd c g:EasyGrepHidden=0
2
+ |1 col 1| GrepAdd C g:EasyGrepHidden=0
3
+ |1 col 1| GrepAdd c g:EasyGrepHidden=1
4
+ hidden\.hiddenfile|1 col 0| 29:ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
5
+ |1 col 1| GrepAdd C g:EasyGrepHidden=1
6
+ hidden\.hiddenfile|1 col 0| 3:ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
Original file line number Diff line number Diff line change
1
+
2
+ let testname= " hidden_ack"
3
+ GrepProgram ack
4
+
5
+ source hidden .vim
6
+
Original file line number Diff line number Diff line change
1
+ |1 col 1| GrepAdd c g:EasyGrepHidden=0
2
+ |1 col 1| GrepAdd C g:EasyGrepHidden=0
3
+ |1 col 1| GrepAdd c g:EasyGrepHidden=1
4
+ hidden\.hiddenfile|1 col 0| 29:ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
5
+ |1 col 1| GrepAdd C g:EasyGrepHidden=1
6
+ hidden\.hiddenfile|1 col 0| 3:ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
Original file line number Diff line number Diff line change
1
+
2
+ let testname= " hidden_ag"
3
+ GrepProgram ag
4
+
5
+ source hidden .vim
6
+
Original file line number Diff line number Diff line change
1
+ |1 col 1| GrepAdd c g:EasyGrepHidden=0
2
+ |1 col 1| GrepAdd C g:EasyGrepHidden=0
3
+ |1 col 1| GrepAdd c g:EasyGrepHidden=1
4
+ hidden\.hiddenfile|1 col 0| ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
5
+ |1 col 1| GrepAdd C g:EasyGrepHidden=1
6
+ hidden\.hiddenfile|1 col 0| ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
Original file line number Diff line number Diff line change
1
+
2
+ let testname= " hidden_grep"
3
+ GrepProgram grep
4
+
5
+ source hidden .vim
6
+
Original file line number Diff line number Diff line change
1
+ |1 col 1| GrepAdd c g:EasyGrepHidden=0
2
+ |1 col 1| GrepAdd C g:EasyGrepHidden=0
3
+ |1 col 1| GrepAdd c g:EasyGrepHidden=1
4
+ hidden\.hiddenfile|1 col 0| ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
5
+ |1 col 1| GrepAdd C g:EasyGrepHidden=1
6
+ hidden\.hiddenfile|1 col 0| ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
Original file line number Diff line number Diff line change
1
+
2
+ let testname= " hidden_pt"
3
+ GrepProgram pt
4
+
5
+ source hidden .vim
6
+
Original file line number Diff line number Diff line change
1
+ |1 col 1| GrepAdd c g:EasyGrepHidden=0
2
+ |1 col 1| GrepAdd C g:EasyGrepHidden=0
3
+ |1 col 1| GrepAdd c g:EasyGrepHidden=1
4
+ .\hidden\.hiddenfile|1 col 29| ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
5
+ |1 col 1| GrepAdd C g:EasyGrepHidden=1
6
+ .\hidden\.hiddenfile|1 col 3| ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
You can’t perform that action at this time.
0 commit comments