diff --git a/autoload/vundle/scripts.vim b/autoload/vundle/scripts.vim index bf811a9..daa56bf 100644 --- a/autoload/vundle/scripts.vim +++ b/autoload/vundle/scripts.vim @@ -1,13 +1,15 @@ func! vundle#scripts#all(bang, ...) let info = ['"Keymap: i - Install bundle; c - Cleanup; r - Refine list'] if a:1== '' " whether refine search string given - call s:display(info + ['"Vim scripts: '], s:load_scripts(a:bang)) + let matches = s:load_scripts(a:bang) + call s:display(info, matches) else let matches = filter(s:load_scripts(a:bang), 'v:val =~? "'.escape(a:1,'"').'"') let @/=a:1 call s:display(info + ['"Search results for: '.a:1], matches) redraw endif + echo len(matches).' bundles found' endf func! vundle#scripts#complete(a,c,d)