Can not find the ag command
CarlosMorfin opened this issue · 3 comments
CarlosMorfin commented
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 commented
Options should go in let g:ack_default_options = "...."
marcov commented
BTW, I am able to get results just overriding g:ackprg
, but jumping to it fails (it shows an etmpy buffer).
marcov commented
This works:
let g:ackprg = "ag"
let g:ack_default_options = " --case-sensitive --noheading --nopager --nocolor --nogroup --column"