# HG changeset patch # User zegervdv # Date 1416420501 -3600 # Node ID 6de3103d47f4bd916f9d05302080eeb4b203ff98 # Parent a91590ba2b322ff853d5a9525318ed1b3458680a Use wildignore in unite file_rec/async diff -r a91590ba2b32 -r 6de3103d47f4 vimrc --- a/vimrc Wed Nov 19 08:29:00 2014 +0100 +++ b/vimrc Wed Nov 19 19:08:21 2014 +0100 @@ -53,12 +53,13 @@ " Coffeescript Plug 'kchmck/vim-coffee-script', { 'for': 'coffeescript' } +" Git +Plug 'tpope/vim-git' + " Dependencies Plug 'MarcWeber/vim-addon-mw-utils' Plug 'tomtom/tlib_vim' - Plug 'xolox/vim-misc' -Plug 'tpope/vim-git' call plug#end() @@ -155,7 +156,7 @@ if v:version >= 703 set undodir=/tmp//,. endif -set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.o,*.bin,*.elf,*.hex +set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.o,*.bin,*.elf,*.hex,*.eps,.git/** " Sentences are ended with double spaces set cpo+=J @@ -370,7 +371,8 @@ call unite#custom#source('file', '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) +call unite#custom#source('file_rec/async', 'ignore_globs', split(&wildignore, ',')) +call unite#custom#source('file_rec/async', 'max_candidates', 50) let g:unite_enable_start_insert=0 let g:unite_source_history_yank_enable=1 let g:unite_source_rec_max_cache_files=3000