-if exists('*<SID>Vim') | finish | endif
+if exists("*<SID>Vim") | finish | endif
function! s:Vim(pattern)
- let ignorecase_bak=&ignorecase
- set noignorecase
- execute "vimgrep /" . a:pattern . "/ **/*"
+ set grepprg=grep\ -Rns\ --binary-files=without-match\ --exclude-dir=.git\ --exclude-dir=.tags\ $*\ /dev/null\ .
+ execute "silent grep \"" . a:pattern . "\""
copen
- let &ignorecase=ignorecase_bak
+ redraw!
let g:pylint_disable=1
endfunction