Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
28 views

How do I map <cmd>-<shift>-f to run Ack plugin in Vim?

I'm new to vim and I'm trying to map a key combo for running the Ack plugin found here: https://github.com/mileszs/ack.vim I want to map cmd-shift-f to run the Ack command :Ack. I've added the ...
0
votes
1answer
17 views

ack doesn't recurse when specifying a file pattern

ack "#define" will recurse into subdirs and find files that contain #define. But I wanted to limit the search to *.h files, so I tried ack "#define" *.h and it doesn't recurse anymore. The only ...
1
vote
2answers
76 views

Can I simulate ack by using grep with the right combination of options?

I have ack-grep installed on my local machine, and find it indispensable for quickly 'acking' through a codebase when debugging. However, on my cheap shared hosting, there is no ack-grep. One of the ...
1
vote
1answer
92 views

Using Ack.vim's quickwindow in vim

I am using ack.vim with vim. I get my search results back in a vim quickwindow which is great. Only problem is that I have to hit [enter] to open the file that's displaying in the quickwindow. On thee ...
1
vote
1answer
100 views

Is there a command in Mac OS X that can perform multiline regex searching?

I want to do a simple regex search recursively through a directory that isn't restricted to single lines. I tried grep and ack, but neither seem to support this. I know it shouldn't be too ...
4
votes
2answers
267 views

Adding file type to ack permanently

I've recently learned how to let ack support more filetypes (adding the following to .ackrc): --type-add latte=.latte Unfortunately, that produces an info line on every ack search I use, even ones ...
2
votes
3answers
1k views

How to use ack to search for file name

I have started using ack which is much faster than grep. However using ack I want to search for file name rather than file contents. Is there a way to do that?
3
votes
1answer
228 views

grin, ack and rak comparison

Having used ack for some time now, I find it much better for my development purposes than grep. But then I've heard about rak and grin. Has anyone used all three of them and can provide a comparison? ...
9
votes
6answers
631 views

Best grep-like tool

I do in file search a lot, and used to love grep. Then I learn the existence of egrep, so I switched to benefit from the advanced regexp. Then I discovered the Eclipse search tool. Much easier to use ...