diff --git a/home/dot_vimrc b/home/dot_vimrc index 6e9d25da..d4b37f7b 100644 --- a/home/dot_vimrc +++ b/home/dot_vimrc @@ -165,7 +165,7 @@ nnoremap " 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