1 if exists("*<SID>Vim") | finish | endif
3 function! s:Vim(pattern)
4 set grepprg=grep\ -Rns\ --binary-files=without-match\ --exclude-dir=.git\ --exclude-dir=.tags\ $*\ /dev/null\ .
5 execute "silent grep \"" . a:pattern . "\""
11 command! -nargs=* -complete=file Vim call s:Vim(<q-args>)