Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grep_Skip_Dirs doesn't work #23

Closed
mddubs opened this issue May 31, 2013 · 1 comment
Closed

Grep_Skip_Dirs doesn't work #23

mddubs opened this issue May 31, 2013 · 1 comment

Comments

@mddubs
Copy link

mddubs commented May 31, 2013

I've installed using the Awesome script, running Mac OSX 10.8.x, and Grep_Skip_Dirs doesn't seem to work. Whenever I run ,g for vimgrep, I can see it is searching through the directories I'm trying to ignore.

Just worth mentioning, the ctrlp_custom_ignore works fine for the ctrlp plugin.

Great work by the way! I have a fork of the repo and would be happy to make the fix myself if you can let me know what the issue is... I can't seem to figure it out.

I've even tried changing...

set grepprg=/bin/grep\ -nH
to
set grepprg=/bin/grep\ -nH --exclude-dir=vendor

...but it seems to completely ignore --exclude-dir.

@amix
Copy link
Owner

amix commented Nov 16, 2013

I think Grep_Skip_Dirs is for grep.

,g uses vimgrep and it seems not be possible to configure it to exclude directories.

I recommend using Ack instead.

Amir

@amix amix closed this as completed Nov 16, 2013
RandyMcMillan pushed a commit to RandyMcMillan/vimrc that referenced this issue Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants