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

Can not find the ag command #262

Open
CarlosMorfin opened this issue Jul 18, 2019 · 3 comments
Open

Can not find the ag command #262

CarlosMorfin opened this issue Jul 18, 2019 · 3 comments

Comments

@CarlosMorfin
Copy link

CarlosMorfin commented Jul 18, 2019

When I execute the command: Ack '=' the following line appears:
1 || /bin/bash/: ag: command not fount

In .vimrc I have set Ag behind the scene:
let g:ackprg = 'ag --nogroup --nocolor --column'

Can someone tell me how to fix this please

@marcov
Copy link

marcov commented Jul 18, 2019

Options should go in let g:ack_default_options = "...."

@marcov
Copy link

marcov commented Jul 18, 2019

BTW, I am able to get results just overriding g:ackprg, but jumping to it fails (it shows an etmpy buffer).

@marcov
Copy link

marcov commented Jul 18, 2019

This works:

let g:ackprg = "ag"
let g:ack_default_options = " --case-sensitive --noheading --nopager --nocolor --nogroup --column"

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