From 04358539191ab5a5b7366e604215a22d7295b7d6 Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Tue, 2 Jan 2024 22:15:34 -0800 Subject: [PATCH] adjust Grep command for vim7 --- home/dot_vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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