Ack search with whitespaces
Asked Answered
D

1

7

I am using Ack with MacVim and the Janus plugin. Everytime I want to search for a string in my project that contains whitespaces, I need to escape these with \ or .

Is there a way to avoid this? I know that once you enter a whitespace, the directory that you search should follow...

Dreiser answered 9/8, 2012 at 4:13 Comment(0)
P
9

you can also quote your search:

:Ack "my searching query"
:Ack 'another one'
Patriotism answered 9/8, 2012 at 4:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.