]> Sergey Matveev's repositories - dotfiles.git/blob - vim/.vim/plugin/grep.vim
g:loaded_* stopper
[dotfiles.git] / vim / .vim / plugin / grep.vim
1 if exists("g:loaded_mein_grep") | finish | endif
2 let g:loaded_mein_grep = 1
3
4 function! s:Vim(pattern)
5     let ignorecase_bak=&ignorecase
6     set noignorecase
7     execute "vimgrep /" . a:pattern . "/ **/*"
8     copen
9     let &ignorecase=ignorecase_bak
10     let g:pylint_disable=1
11 endfunction
12
13 command! -nargs=* -complete=file Vim call s:Vim(<q-args>)