Mercurial > dotfiles.old
comparison vimrc @ 201:6de3103d47f4
Use wildignore in unite file_rec/async
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 19 Nov 2014 19:08:21 +0100 |
parents | a91590ba2b32 |
children | 2c77dbb93f11 |
comparison
equal
deleted
inserted
replaced
200:a91590ba2b32 | 201:6de3103d47f4 |
---|---|
51 Plug 'osyo-manga/vim-marching', { 'for': 'c' } | 51 Plug 'osyo-manga/vim-marching', { 'for': 'c' } |
52 | 52 |
53 " Coffeescript | 53 " Coffeescript |
54 Plug 'kchmck/vim-coffee-script', { 'for': 'coffeescript' } | 54 Plug 'kchmck/vim-coffee-script', { 'for': 'coffeescript' } |
55 | 55 |
56 " Git | |
57 Plug 'tpope/vim-git' | |
58 | |
56 " Dependencies | 59 " Dependencies |
57 Plug 'MarcWeber/vim-addon-mw-utils' | 60 Plug 'MarcWeber/vim-addon-mw-utils' |
58 Plug 'tomtom/tlib_vim' | 61 Plug 'tomtom/tlib_vim' |
59 | |
60 Plug 'xolox/vim-misc' | 62 Plug 'xolox/vim-misc' |
61 Plug 'tpope/vim-git' | |
62 | 63 |
63 | 64 |
64 call plug#end() | 65 call plug#end() |
65 " }}} | 66 " }}} |
66 " General Settings {{{ | 67 " General Settings {{{ |
153 set backupdir=/tmp//,. | 154 set backupdir=/tmp//,. |
154 set directory=/tmp//,. | 155 set directory=/tmp//,. |
155 if v:version >= 703 | 156 if v:version >= 703 |
156 set undodir=/tmp//,. | 157 set undodir=/tmp//,. |
157 endif | 158 endif |
158 set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.o,*.bin,*.elf,*.hex | 159 set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.o,*.bin,*.elf,*.hex,*.eps,.git/** |
159 | 160 |
160 " Sentences are ended with double spaces | 161 " Sentences are ended with double spaces |
161 set cpo+=J | 162 set cpo+=J |
162 | 163 |
163 " set list | 164 " set list |
368 call unite#custom#source( 'buffer', 'converters', ['converter_file_directory']) | 369 call unite#custom#source( 'buffer', 'converters', ['converter_file_directory']) |
369 " sort file results by length | 370 " sort file results by length |
370 call unite#custom#source('file', 'sorters', 'sorter_length') | 371 call unite#custom#source('file', 'sorters', 'sorter_length') |
371 call unite#custom#source('file_rec/async', 'converters', []) | 372 call unite#custom#source('file_rec/async', 'converters', []) |
372 call unite#custom#source('file_rec/async', 'sorters', []) | 373 call unite#custom#source('file_rec/async', 'sorters', []) |
373 call unite#custom#source('file_rec/async', 'max_candidates', 20) | 374 call unite#custom#source('file_rec/async', 'ignore_globs', split(&wildignore, ',')) |
375 call unite#custom#source('file_rec/async', 'max_candidates', 50) | |
374 let g:unite_enable_start_insert=0 | 376 let g:unite_enable_start_insert=0 |
375 let g:unite_source_history_yank_enable=1 | 377 let g:unite_source_history_yank_enable=1 |
376 let g:unite_source_rec_max_cache_files=3000 | 378 let g:unite_source_rec_max_cache_files=3000 |
377 let g:unite_prompt='» ' | 379 let g:unite_prompt='» ' |
378 if executable('ag') | 380 if executable('ag') |