# HG changeset patch # User zegervdv # Date 1415084547 -3600 # Node ID 689a19d567c7d269e673edf30eb63ed19fe8c44d # Parent 1e77456c253b52e96932dd6d63101dc63282a1e0 improve performance of unite diff -r 1e77456c253b -r 689a19d567c7 vimrc --- 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