Ack plugin inside the vim is not working -
i'm getting following error inside vim
while using ack
plugin:
[ no name]
|| ack-grep: command not found.
i have installed ack
vim-plugin @ path ~/.vim/bundle/ack.vim
. have checked :scriptnames
, shows me proper path.
added following entries .vimrc
file:
let g:ackprg="ack-grep -h --nocolor --nogroup --column" nmap <leader>a <esc>:ack!
i'm still getting error. missing ?
if error ack-grep: command not found
seem vim means says: can’t find ack-grep
command. seems might not problem plugin, instead problem in (shell) environment.
i think next steps out to run which ack-grep
shell (outside of vim), , make sure have ack-grep
that’s executable , that’s in $path
vim can find it.
(i guess may have checked this, question doesn’t explicitly have; if have checked it, think helpful if updated question indicate have.)
Comments
Post a Comment