From deaa58fdc40cec7590b3a5eb9818a710bde865ba Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 23 Nov 2014 15:15:20 -0500 Subject: ls-grep.vim: Require unquoted search term argument The argument passed into the command must now not be quoted. To add spaces, use backslash escaping. EDIT: Actually, it turns out you don't need to backslash escape spaces. Okay, so just don't quote your argument. That works nicely. --- ls-grep.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ls-grep.vim b/ls-grep.vim index aa4e80d..8012dd2 100644 --- a/ls-grep.vim +++ b/ls-grep.vim @@ -12,4 +12,4 @@ function! LsGrep(search) endfunction -command! -nargs=1 LsGrep call LsGrep() +command! -nargs=1 LsGrep call LsGrep("") -- cgit v1.2.3