]> Sergey Matveev's repositories - dotfiles.git/blob - vim/.vim/plugin/ggrep.vim
Detect already loaded code with simpler <SID> check
[dotfiles.git] / vim / .vim / plugin / ggrep.vim
1 if exists('*<SID>Vmg') | finish | endif
2
3 function! s:Vmg(pattern)
4     silent execute 'Ggrep "' . a:pattern . '"'
5     copen
6     redraw!
7     let g:pylint_disable=1
8 endfunction
9
10 command! -nargs=* -complete=file Vmg call s:Vmg(<q-args>)