diff options
| author | Teddy Wing | 2014-11-23 15:14:33 -0500 |
|---|---|---|
| committer | Teddy Wing | 2014-11-23 15:14:33 -0500 |
| commit | d53738b79e544a97e68f9731bef58201032a3cae (patch) | |
| tree | dabb979450972927e656763cb2642cfd715f741c | |
| parent | 87040b744d1c45b885b48fc314b1a938c328fe60 (diff) | |
| download | vim-ls-grep-d53738b79e544a97e68f9731bef58201032a3cae.tar.bz2 | |
ls-grep.vim: Add some comments to the `LsGrep` function
| -rw-r--r-- | ls-grep.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ls-grep.vim b/ls-grep.vim index a5ba29c..aa4e80d 100644 --- a/ls-grep.vim +++ b/ls-grep.vim @@ -1,10 +1,13 @@ function! LsGrep(search) + " Store :ls output redir => ls_output silent ls redir END + " Grep :ls output let ls_output = system("echo " . shellescape(ls_output) . " | grep -i " . shellescape(a:search)) + " Display echo ls_output endfunction |
