From 840cd3b683dcbd890513dbdb77135fbb63cff90c Mon Sep 17 00:00:00 2001 From: gmarik Date: Fri, 11 Feb 2011 14:37:09 -0600 Subject: [PATCH] Reverse search results to show most recent on top --- autoload/vundle/scripts.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/scripts.vim b/autoload/vundle/scripts.vim index a30841c..5422175 100644 --- a/autoload/vundle/scripts.vim +++ b/autoload/vundle/scripts.vim @@ -1,7 +1,7 @@ func! vundle#scripts#search(bang,search_str) let matches = filter(s:load_scripts(a:bang), 'v:val =~? "'.escape(a:search_str,'"').'"') let results = map(matches, ' printf("Bundle \"%s\"", v:val) ') - call s:display(results, a:search_str) + call s:display(reverse(results), a:search_str) endf func! s:display(results,search_str)