aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2014-11-23 15:12:48 -0500
committerTeddy Wing2014-11-23 15:12:48 -0500
commit87040b744d1c45b885b48fc314b1a938c328fe60 (patch)
treef0892e083770b7dfd742538fde77f19a42bcc524
parent15243862322181acb5c10cbf3ac6e84689fc3437 (diff)
downloadvim-ls-grep-87040b744d1c45b885b48fc314b1a938c328fe60.tar.bz2
ls-grep.vim: Use case-insensitive grep search
Makes it quicker.
-rw-r--r--ls-grep.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ls-grep.vim b/ls-grep.vim
index aaa7d42..a5ba29c 100644
--- a/ls-grep.vim
+++ b/ls-grep.vim
@@ -3,7 +3,7 @@ function! LsGrep(search)
silent ls
redir END
- let ls_output = system("echo " . shellescape(ls_output) . " | grep " . shellescape(a:search))
+ let ls_output = system("echo " . shellescape(ls_output) . " | grep -i " . shellescape(a:search))
echo ls_output
endfunction