changeset 172:689a19d567c7

improve performance of unite
author zegervdv <zegervdv@me.com>
date Tue, 04 Nov 2014 08:02:27 +0100
parents 1e77456c253b
children a464a7020662
files vimrc
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vimrc	Mon Nov 03 19:46:48 2014 +0100
+++ b/vimrc	Tue Nov 04 08:02:27 2014 +0100
@@ -450,7 +450,9 @@
 call unite#custom#source( 'buffer', 'converters', ['converter_file_directory'])
 " sort file results by length
 call unite#custom#source('file', 'sorters', 'sorter_length')
-call unite#custom#source('file_rec/async', 'sorters', 'sorter_length')
+call unite#custom#source('file_rec/async', 'converters', [])
+call unite#custom#source('file_rec/async', 'sorters', [])
+call unite#custom#source('file_rec/async', 'max_candidates', 20)
 let g:unite_enable_start_insert=0
 let g:unite_source_history_yank_enable=1
 let g:unite_source_rec_max_cache_files=3000