aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2014-11-23 15:15:20 -0500
committerTeddy Wing2014-11-23 15:17:42 -0500
commitdeaa58fdc40cec7590b3a5eb9818a710bde865ba (patch)
tree8c8b290a0df4156a1dfa9ac361ed51994ce2f563
parentd53738b79e544a97e68f9731bef58201032a3cae (diff)
downloadvim-ls-grep-deaa58fdc40cec7590b3a5eb9818a710bde865ba.tar.bz2
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.
-rw-r--r--ls-grep.vim2
1 files changed, 1 insertions, 1 deletions
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(<args>)
+command! -nargs=1 LsGrep call LsGrep("<args>")