Reputation: 3172
I'm using vim with ack in ubuntu. When searching with :Ack is not returning any result. I had installed both ack-grep and ack.vim.
am i missing anything here?
Upvotes: 0
Views: 616
Reputation: 196476
Ack.vim is able to recognize both ack-grep
and ack
. If none of those are in your $PATH
, you can define the path to ack in your ~/.vimrc
, like this:
let g:ackprg="<custom-ack-path-goes-here> -H --nocolor --nogroup --column"
Upvotes: 3
Reputation: 3172
we have to create a symlink for ack to work with vim
ln -s /usr/bin/ack-grep /usr/bin/ack
Upvotes: 2