]> Sergey Matveev's repositories - dotfiles.git/blob - vim/.vim/plugin/grep.vim
Move to vim9script
[dotfiles.git] / vim / .vim / plugin / grep.vim
1 vim9script
2
3 command! -nargs=* -complete=file Vim {
4     set grepprg=grep\ -Rns\ --binary-files=without-match\ --exclude-dir=.git\ --exclude-dir=.tags\ $*\ /dev/null\ .
5     execute "silent grep \"" .. <q-args> .. "\""
6     copen
7     redraw!
8 }