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