diff options
| author | Teddy Wing | 2014-11-23 15:15:20 -0500 |
|---|---|---|
| committer | Teddy Wing | 2014-11-23 15:17:42 -0500 |
| commit | deaa58fdc40cec7590b3a5eb9818a710bde865ba (patch) | |
| tree | 8c8b290a0df4156a1dfa9ac361ed51994ce2f563 | |
| parent | d53738b79e544a97e68f9731bef58201032a3cae (diff) | |
| download | vim-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.vim | 2 |
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>") |
