File tree 12 files changed +90
-0
lines changed
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
Original file line number Diff line number Diff line change
1
+
2
+ let testname= " hidden_vimgrep"
3
+ GrepProgram vimgrep
4
+
5
+ source hidden .vim
6
+
Original file line number Diff line number Diff line change @@ -24,6 +24,13 @@ exclusions_grep.vim
24
24
exclusions_pt.vim
25
25
exclusions_vimgrep.vim
26
26
27
+ # hidden
28
+ hidden_ack.vim
29
+ hidden_ag.vim
30
+ hidden_grep.vim
31
+ hidden_pt.vim
32
+ hidden_vimgrep.vim
33
+
27
34
# recursion
28
35
recursion_ack.vim
29
36
recursion_ag.vim
You can’t perform that action at this time.
0 commit comments