UsePlugin 'ack.vim' " ack.vim " let g:ackprg = 'rg --vimgrep --no-heading --hidden --no-ignore-vcs' if executable('rg') let g:ackprg = 'rg --vimgrep --no-heading --hidden -g "!{.git,node_modules}/*" ' elseif executable('git') let g:ackprg = 'git grep -I --line-number ' endif