greplace.vim
greplace.vim copied to clipboard
Ignore certain files and directories
trafficstars
Tried adding specific files using -- <pathspec> options
set grepprg=git\ grep
let g:grep_cmd_opts = "--line-number -- './*' ':!**/node_modules/**' ':!**/gems/**'"
But it doesn't seem to work.
We had a similar issue at https://github.com/skwp/greplace.vim/issues/1, anyone has suggestion for this? Otherwise, it may take much longer when searching in log and dump files.
I think it works if you do Gsearch searchTerm ./ If you do Gsearch searchTerm it uses * for files which ignores the ignores.