mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
adjust Grep command for vim7
This commit is contained in:
parent
162fb559c0
commit
0435853919
@ -165,7 +165,7 @@ nnoremap <down> <C-x>
|
||||
" https://gist.github.com/romainl/56f0c28ef953ffc157f36cc495947ab3
|
||||
"
|
||||
function! Grep(...)
|
||||
return system(join([&grepprg] + [expandcmd(join(a:000, ' '))], ' '))
|
||||
return system(join([&grepprg] + [expand(join(a:000, ' '))], ' '))
|
||||
endfunction
|
||||
|
||||
" Check if file is valid and exists
|
||||
|
Loading…
x
Reference in New Issue
Block a user